Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandGroup ¶
type CommandGroup interface {
Command(name, help string) *kingpin.CmdClause
}
Implemented by kingpin.CommandLine (an instance of kingpin.Application).
type CommandRegistry ¶
type CommandRegistry struct {
// contains filtered or unexported fields
}
func NewCommandRegistry ¶
func NewCommandRegistry() *CommandRegistry
func (*CommandRegistry) Add ¶
func (r *CommandRegistry) Add(cmd *kingpin.CmdClause, h Handler)
func (*CommandRegistry) Lookup ¶
func (r *CommandRegistry) Lookup(name string) Handler
type Context ¶
func NewContextForTest ¶
Click to show internal directories.
Click to hide internal directories.