package
1.30.0
Repository: https://github.com/coreos/rocket.git
Documentation: pkg.go.dev

# Functions

MustNewPairList is the same as NewPairList, but panics instead of returning error So check that your defaults are correct :-).
NewBitFlags initializes a simple bitflag version of the OptionList Type.
No description provided by the author
NewOptionList initializes an OptionList.
NewPairList initializes a new pair list If permissiblePairs is not empty, then it will validate keys and values.
Serialize takes a map and generates a string that can be parsed by Set.

# Structs

BitFlags is a flag value type supporting a csv list of options stored as bits.
DiscardFlag is a flag type that discards all options with a warning.
OptionList is a flag value type supporting a csv list of options.
PairList is a flag value supporting a list of key=value pairs It will optionally validate the supplied keys and / or values It would parse something like "--arg foo=bar --arg baz=bar".