Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI defines a command line interpreter
func NewCLI ¶
NewCLI creates a new CLI with the given name and help message
func (*CLI) Command ¶
func (cli *CLI) Command(name, help string, onCommand CLICommand) *kingpin.CmdClause
Command adds a new top-level command to the CLI
type CLICommand ¶
CLICommand defines a command that is added to the CLI via an external consumer.
Click to show internal directories.
Click to hide internal directories.