Documentation ¶
Overview ¶
Package cli provides a bare bones CLI with commands.
cli supports standard Go flags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // Name or Aliases are used to match argv[1] and select this command. Name string Aliases []string // Short is a one-line description for the command. Short string // Run is called if argv[1] matches the command. Flags are parsed before Run is called. Run func(args []string) // contains filtered or unexported fields }
Command is a CLI command.
Click to show internal directories.
Click to hide internal directories.