Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// args does not include the command name
Run func(cmd *Command, args []string)
Flag flag.FlagSet
Usage string // first word is the command name
Short string // `tool help` output
Long string // `tool help cmd` output
}
func (*Command) PrintUsage ¶
func (c *Command) PrintUsage()
Click to show internal directories.
Click to hide internal directories.