Documentation
¶
Index ¶
- func Bool(name string, value bool, usage string, required bool) *bool
- func Duration(name string, value time.Duration, usage string, required bool) *time.Duration
- func Float64(name string, value float64, usage string, required bool) *float64
- func Int(name string, value int, usage string, required bool) *int
- func Parse()
- func String(name string, value string, usage string, required bool) *string
- func WithDescription(s string)
- func WithExtra(s string)
- type FlagInfo
- type StrSliceFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDescription ¶
func WithDescription(s string)
Types ¶
type StrSliceFlag ¶ added in v0.3.0
type StrSliceFlag []string
func (*StrSliceFlag) Set ¶ added in v0.3.0
func (s *StrSliceFlag) Set(t string) error
func (*StrSliceFlag) String ¶ added in v0.3.0
func (s *StrSliceFlag) String() string
Click to show internal directories.
Click to hide internal directories.