Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyValueFlag ¶
KeyValueFlag can be used for users to define variables with quotes. Similar to pflag.StringArrayVar and StringToStringVar, but with different quoting.
func (*KeyValueFlag) GetSlice ¶
func (v *KeyValueFlag) GetSlice() []string
GetSlice returns the flag value list as an array of strings.
func (*KeyValueFlag) Set ¶
func (v *KeyValueFlag) Set(kv string) error
func (*KeyValueFlag) String ¶
func (v *KeyValueFlag) String() string
func (*KeyValueFlag) Type ¶
func (v *KeyValueFlag) Type() string
Type returns a descriptive name for the underlying data type. Used in the help output of pflag/cobra.
Click to show internal directories.
Click to hide internal directories.