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) ApplyFlags ¶ added in v0.0.9
func (opts *GlobalOptions) ApplyFlags(flags *pflag.FlagSet)
func (*GlobalOptions) NewConfig ¶
func (opts *GlobalOptions) NewConfig() config.Config
Click to show internal directories.
Click to hide internal directories.