Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StringFilter ¶
StringFilter allows a prefix/postfix/regex to be specified
func (*StringFilter) AddFlags ¶
func (f *StringFilter) AddFlags(cmd *cobra.Command, optionPrefix, message string)
AddFlags adds cmd flags
func (*StringFilter) Matches ¶
func (f *StringFilter) Matches(value string) bool
Matches returns true if the given filter matches the value
func (*StringFilter) String ¶
func (f *StringFilter) String() string
Click to show internal directories.
Click to hide internal directories.