Documentation
¶
Index ¶
Constants ¶
View Source
const ( ValueModeNone int = iota ValueModeRequired ValueModeDefault ValueModeOptional )
Variables ¶
View Source
var ( FlagHelp = Flag{ Short: 'h', Long: "help", Description: "Print help and exit", SetID: "help", } FlagVersion = Flag{ Short: 'v', Long: "version", Description: "Print version and exit", SetID: "version", } )
Functions ¶
Types ¶
type FlagValue ¶
func ValueDefault ¶
func ValueOptional ¶
func ValueRequired ¶
func ValueRequired() FlagValue
type Subcommands ¶
type Subcommands interface {
Subcommands() []Command
}
Click to show internal directories.
Click to hide internal directories.