package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Apr 22, 2015
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Variables
-
func LongHelp(rootName string, root *cmds.Command, path []string, out io.Writer) error
-
func Parse(input []string, stdin *os.File, root *cmds.Command) (cmds.Request, *cmds.Command, []string, error)
-
func ShortHelp(rootName string, root *cmds.Command, path []string, out io.Writer) error
ErrInvalidSubcmd signals when the parse error is not found
LongHelp returns a formatted CLI helptext string, generated for the given command
Parse parses the input commandline string (cmd, flags, and args).
returns the corresponding command Request object.
ShortHelp returns a formatted CLI helptext string, generated for the given command
Source Files
¶
Click to show internal directories.
Click to hide internal directories.