Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidFlagMap = fmt.Errorf("not a valid mapping, must be k=k")
)
Functions ¶
This section is empty.
Types ¶
type KeyValueFlag ¶
type KeyValueFlag struct { // List contains all the k=v values in order encountered List []KeyValue // Map contains all the k=v values as a map Map map[string]string }
KeyValueFlag is a cli.Generic implementation that parses flag values of the form k=v
func (*KeyValueFlag) Set ¶
func (k *KeyValueFlag) Set(value string) error
func (*KeyValueFlag) String ¶
func (k *KeyValueFlag) String() string
Click to show internal directories.
Click to hide internal directories.