Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Done = errors.New("version")
Functions ¶
Types ¶
type Globals ¶
type Globals struct { Version VersionFlag `name:"version" help:"Print args information and quit"` Verbose bool `short:"v" help:"Enable verbose mode"` }
type VersionFlag ¶
type VersionFlag string
func (VersionFlag) BeforeApply ¶
func (VersionFlag) Decode ¶
func (v VersionFlag) Decode(ctx *kong.DecodeContext) error
func (VersionFlag) IsBool ¶
func (v VersionFlag) IsBool() bool
Click to show internal directories.
Click to hide internal directories.