Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type CommaStringsFlag ¶
type CommaStringsFlag []string
CommaStringsFlag facilitates parsing flags representing a comma separated list of strings
func (*CommaStringsFlag) Set ¶
func (f *CommaStringsFlag) Set(v string) error
func (CommaStringsFlag) String ¶
func (f CommaStringsFlag) String() string
type DurationFlag ¶
DurationFlag facilitates parsing flags representing a time.Duration
func (*DurationFlag) Set ¶
func (f *DurationFlag) Set(v string) error
func (DurationFlag) String ¶
func (f DurationFlag) String() string
type Env ¶
Env provides an pluggable environment for CLI commands that facilitates easy testing.
func (*Env) ErrPrintln ¶
type StringsFlag ¶
type StringsFlag []string
StringsFlag faciliates setting multiple flags
func (*StringsFlag) Set ¶
func (s *StringsFlag) Set(val string) error
func (*StringsFlag) String ¶
func (s *StringsFlag) String() string
Click to show internal directories.
Click to hide internal directories.