Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCommands = []*cli.Command{
completion(),
man(),
markdown(),
}
DefaultCommands are the flags commands can be added to every binary
View Source
var DefaultsPath string
DefaultsPath is the path to default configuration files set at build time
Functions ¶
func GetAndMergeConfigFromContext ¶ added in v1.18.2
func GetConfigFromContext ¶
func GetFlagsAndMetadata ¶
func StringSliceTrySplit ¶ added in v1.18.1
StringSliceTrySplit parses the string slice from the CLI context. If the parsing returns just a single item, then we try to parse them by `,` to allow users to provide their flags comma separated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.