package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Oct 10, 2016
License: MIT
Opens a new window with license information.
Imports: 14
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 writes a formatted CLI helptext string to a Writer for the given command
Parse parses the input commandline string (cmd, flags, and args).
returns the corresponding command Request object.
ShortHelp writes a formatted CLI helptext string to a Writer for the given command
Source Files
¶
Click to show internal directories.
Click to hide internal directories.