Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolFlag ¶
type BoolFlag struct { Name string Alias string Usage string Value bool Required bool Hidden bool PersistentFlag bool }
BoolFlag pFlag wrapper
func (*BoolFlag) IsPersistentFlag ¶
func (*BoolFlag) ParseToString ¶
type CompositeFlag ¶
type CompositeFlag struct { Flags []Flag Required bool Hidden bool RequiredBrace bool Type CompositeFlagType }
CompositeFlag struct for composite flags
func (*CompositeFlag) GetName ¶
func (cf *CompositeFlag) GetName() string
func (*CompositeFlag) IsHidden ¶
func (cf *CompositeFlag) IsHidden() bool
func (*CompositeFlag) IsRequired ¶
func (cf *CompositeFlag) IsRequired() bool
func (*CompositeFlag) ParseToString ¶
func (cf *CompositeFlag) ParseToString() string
ParseToString method for CompositeFlag
func (*CompositeFlag) UniqueKey ¶
func (cf *CompositeFlag) UniqueKey() string
type CompositeFlagType ¶
type CompositeFlagType uint
const ( RelationshipAND CompositeFlagType = iota RelationshipOR )
type Int64Flag ¶
type Int64Flag struct { Name string Alias string Usage string Value int64 Required bool Hidden bool PersistentFlag bool }
Int64Flag pFlag wrapper
func (*Int64Flag) IsPersistentFlag ¶
func (*Int64Flag) IsRequired ¶
func (*Int64Flag) ParseToString ¶
type IntFlag ¶
type IntFlag struct { Name string Alias string Usage string Value int Required bool Hidden bool PersistentFlag bool }
IntFlag pFlag wrapper
func (*IntFlag) IsPersistentFlag ¶
func (*IntFlag) IsRequired ¶
func (*IntFlag) ParseToString ¶
type StringFlag ¶
type StringFlag struct { Name string Alias string Usage string Value string Required bool Hidden bool PersistentFlag bool }
StringFlag pFlag wrapper
func (*StringFlag) GetName ¶
func (f *StringFlag) GetName() string
func (*StringFlag) IsHidden ¶
func (f *StringFlag) IsHidden() bool
func (*StringFlag) IsPersistentFlag ¶
func (f *StringFlag) IsPersistentFlag() bool
func (*StringFlag) IsRequired ¶
func (f *StringFlag) IsRequired() bool
func (*StringFlag) ParseToString ¶
func (f *StringFlag) ParseToString() string
func (*StringFlag) UniqueKey ¶
func (f *StringFlag) UniqueKey() string
type StringSliceFlag ¶
type StringSliceFlag struct { Name string Alias string Usage string Value []string Required bool Hidden bool PersistentFlag bool }
StringSliceFlag pFlag wrapper
func (*StringSliceFlag) GetName ¶
func (f *StringSliceFlag) GetName() string
func (*StringSliceFlag) IsHidden ¶
func (f *StringSliceFlag) IsHidden() bool
func (*StringSliceFlag) IsPersistentFlag ¶
func (f *StringSliceFlag) IsPersistentFlag() bool
func (*StringSliceFlag) IsRequired ¶
func (f *StringSliceFlag) IsRequired() bool
func (*StringSliceFlag) ParseToString ¶
func (f *StringSliceFlag) ParseToString() string
func (*StringSliceFlag) UniqueKey ¶
func (f *StringSliceFlag) UniqueKey() string
Click to show internal directories.
Click to hide internal directories.