Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlagString ¶
GetFlagString gets a string value from a command with a flag name or panics
func RunOrDie ¶
func RunOrDie(usage, version, example string, run func(*cobra.Command, []string), ff []FlagFlagger, cf []CmdFlagger)
RunOrDie runs the cobra command or panics
Types ¶
type CmdFlagger ¶
CmdFlagger wraps a method of adding a flag to a Command
type FlagFlagger ¶
FlagFlagger wraps a method of adding a flag to a FlagSet
Click to show internal directories.
Click to hide internal directories.