Versions in this module Expand all Collapse all v0 v0.1.1 Sep 27, 2018 Changes in this version + func NewFlagsNotSetError(flags []string) error + type Bool struct + Default bool + Required bool + Short string + Target *bool + Usage string + func (f *Bool) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *Bool) GetShort() string + func (f *Bool) GetUsage() string + func (f *Bool) IsRequired() bool + func (f *Bool) Parse() func() error + func (f *Bool) Set() bool + func (f *Bool) Value() interface{} + type DelayedEmbedded struct + Delimiter string + FlagChooser func() (*string, error) + Flags map[string]cli.Flags + Required bool + Short string + Usage string + func (f *DelayedEmbedded) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *DelayedEmbedded) GetShort() string + func (f *DelayedEmbedded) GetUsage() string + func (f *DelayedEmbedded) IsRequired() bool + func (f *DelayedEmbedded) Parse() func() error + func (f *DelayedEmbedded) Set() bool + type Embedded struct + Flags cli.Flags + Required bool + Short string + Usage string + func (f *Embedded) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *Embedded) GetShort() string + func (f *Embedded) GetUsage() string + func (f *Embedded) IsRequired() bool + func (f *Embedded) Parse() func() error + func (f *Embedded) Set() bool + type IPNet struct + Default net.IPNet + Name string + Required bool + Short string + Target *net.IPNet + Usage string + func (f *IPNet) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *IPNet) GetShort() string + func (f *IPNet) GetUsage() string + func (f *IPNet) IsRequired() bool + func (f *IPNet) Parse() func() error + func (f *IPNet) Set() bool + type Int struct + Default int + Required bool + Short string + Target *int + Usage string + func (f *Int) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *Int) GetShort() string + func (f *Int) GetUsage() string + func (f *Int) IsRequired() bool + func (f *Int) Parse() func() error + func (f *Int) Set() bool + type Int32 struct + Default int32 + Required bool + Short string + Target *int32 + Usage string + func (f *Int32) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *Int32) GetShort() string + func (f *Int32) GetUsage() string + func (f *Int32) IsRequired() bool + func (f *Int32) Parse() func() error + func (f *Int32) Set() bool + type Path struct + Default tree.Path + Required bool + Short string + Target *tree.Path + Usage string + func (f *Path) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *Path) GetShort() string + func (f *Path) GetUsage() string + func (f *Path) IsRequired() bool + func (f *Path) Parse() func() error + func (f *Path) Set() bool + type PathSubcomponent struct + Default tree.PathSubcomponent + Required bool + Short string + Target *tree.PathSubcomponent + Usage string + func (f *PathSubcomponent) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *PathSubcomponent) GetShort() string + func (f *PathSubcomponent) GetUsage() string + func (f *PathSubcomponent) IsRequired() bool + func (f *PathSubcomponent) Parse() func() error + func (f *PathSubcomponent) Set() bool + type String struct + Default string + Required bool + Short string + Target *string + Usage string + func (f *String) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *String) GetShort() string + func (f *String) GetUsage() string + func (f *String) IsRequired() bool + func (f *String) Parse() func() error + func (f *String) Set() bool + type StringArray struct + Default string + Required bool + Short string + Target *[]string + Usage string + func (f *StringArray) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *StringArray) GetShort() string + func (f *StringArray) GetUsage() string + func (f *StringArray) IsRequired() bool + func (f *StringArray) Parse() func() error + func (f *StringArray) Set() bool + type StringSlice struct + Default []string + Required bool + Short string + Target *[]string + Usage string + func (f *StringSlice) AddToFlagSet(name string, flags *pflag.FlagSet) + func (f *StringSlice) GetShort() string + func (f *StringSlice) GetUsage() string + func (f *StringSlice) IsRequired() bool + func (f *StringSlice) Parse() func() error + func (f *StringSlice) Set() bool