Documentation
¶
Index ¶
- func BoolVarWithViper(cmd *cobra.Command, p *bool, viperPrefix, name string, value bool, ...)
- func Float64VarWithViper(cmd *cobra.Command, p *float64, viperPrefix, name string, value float64, ...)
- func IntVarWithViper(cmd *cobra.Command, p *int, viperPrefix, name string, value int, usage string)
- func PersistentStringVarWithViper(cmd *cobra.Command, p *string, viperPrefix, name, value, usage string)
- func StringVarWithViper(cmd *cobra.Command, p *string, viperPrefix, name, value, usage string)
- type GlobalFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolVarWithViper ¶
func Float64VarWithViper ¶
func IntVarWithViper ¶
Types ¶
type GlobalFlags ¶
GlobalFlags are not specific to a single command and can be included across many
func (*GlobalFlags) AddFlags ¶
func (o *GlobalFlags) AddFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.