Documentation ¶
Index ¶
- 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 ParseArgs(req cmds.Request, inputs []string, stdin *os.File, argDefs []cmds.Argument, ...) ([]string, []files.File, error)
- func ShortHelp(rootName string, root *cmds.Command, path []string, out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(input []string, stdin *os.File, root *cmds.Command) (cmds.Request, *cmds.Command, []string, error)
Parse parses the input commandline string (cmd, flags, and args). returns the corresponding command Request object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.