Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command interface {
Info() CommandInfo
}
type CommandInfo ¶
type FlagArgRunner ¶
type FlagArgRunner interface {
Run(fv *FlagValues, args []string) error
}
type FlagRunner ¶
type FlagRunner interface {
Run(fv *FlagValues) error
}
type FlagValues ¶
type FlagValues struct {
// contains filtered or unexported fields
}
func (*FlagValues) Get ¶
func (fv *FlagValues) Get(key string) string
func (*FlagValues) GetAll ¶
func (fv *FlagValues) GetAll(key string) []string
func (*FlagValues) Has ¶
func (fv *FlagValues) Has(key string) bool
type Subcommander ¶
type Subcommander interface {
Subcommands() []Command
}
Click to show internal directories.
Click to hide internal directories.