Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsShorthandOnly ¶
IsShorthandOnly uses reflection to check for pflag.Flag.Shorthandonly to support both spf13/pflag and cornfeedhobos shorthand change (needed for carapace-bin) won't be necessary if https://github.com/spf13/pflag/pull/256 should ever be merged
Types ¶
type ByValue ¶ added in v0.3.0
type ByValue []RawValue
ByValue alias to filter by value
type RawValue ¶ added in v0.2.4
RawValue represents a completion candidate
func (RawValue) TrimmedDescription ¶ added in v0.5.8
TrimmedDescription returns the trimmed description
type RawValues ¶ added in v0.5.0
type RawValues []RawValue
RawValues is an alias for []RawValue
func RawValuesFrom ¶ added in v0.2.4
RawValuesFrom creates RawValues from given values
func (RawValues) FilterPrefix ¶ added in v0.5.0
FilterPrefix filters values with given prefix
Click to show internal directories.
Click to hide internal directories.