package
Version:
v0.3.10
Opens a new window with list of versions in this module.
Published: Dec 8, 2015
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
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
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.