Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigVar ¶
ConfigVar defines a string flag named config accepting a configuration file path. The argument p points to a string variable in which to store the value of the flag.
func VerboseVar ¶
Types ¶
type GlobalOptions ¶
func (*GlobalOptions) ConfigVar ¶
func (opts *GlobalOptions) ConfigVar(flags *pflag.FlagSet)
func (*GlobalOptions) NewConfig ¶
func (opts *GlobalOptions) NewConfig() config.Config
Click to show internal directories.
Click to hide internal directories.