Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Globals ¶
type Globals struct { LogLevel string `short:"l" help:"Set the logging level (${log_levels})" enum:"${log_levels}" default:"info"` Config string `short:"c" help:"The path to the config file" type:"path" default:"${config_file}"` Version VersionFlag `name:"version" help:"Print version information and quit"` }
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.