Versions in this module Expand all Collapse all v2 v2.24.5 Jan 30, 2023 v2.24.4 Jan 30, 2023 Changes in this version type BoolFlag + DisableDefaultText bool v2.23.9 Dec 22, 2022 v2.23.8 Dec 22, 2022 Changes in this version + var AppHelpTemplate = ... + var CommandHelpTemplate = ... + var ErrWriter io.Writer = os.Stderr + var FishCompletionTemplate = ... + var HelpPrinter helpPrinter = printHelp + var HelpPrinterCustom helpPrinterCustom = printHelpCustom + var MarkdownDocTemplate = ... + var OsExiter = os.Exit + var SubcommandHelpTemplate = ... + var SuggestCommand SuggestCommandFunc = suggestCommand + var SuggestDidYouMeanTemplate string = suggestDidYouMeanTemplate + var SuggestFlag SuggestFlagFunc = suggestFlag + var VersionPrinter = printVersion + func DefaultAppComplete(cCtx *Context) + func DefaultCompleteWithFlags(cmd *Command) func(cCtx *Context) + func FlagNames(name string, aliases []string) []string + func HandleAction(action interface{}, cCtx *Context) (err error) + func HandleExitCoder(err error) + func ShowAppHelp(cCtx *Context) error + func ShowAppHelpAndExit(c *Context, exitCode int) + func ShowCommandCompletions(ctx *Context, command string) + func ShowCommandHelp(ctx *Context, command string) error + func ShowCommandHelpAndExit(c *Context, command string, code int) + func ShowCompletions(cCtx *Context) + func ShowSubcommandHelp(cCtx *Context) error + func ShowSubcommandHelpAndExit(c *Context, exitCode int) + func ShowVersion(cCtx *Context) + type ActionFunc func(*Context) error + type ActionableFlag interface + RunAction func(*Context) error + type AfterFunc func(*Context) error + type App struct + Action ActionFunc + After AfterFunc + AllowExtFlags bool + ArgsUsage string + Authors []*Author + BashComplete BashCompleteFunc + Before BeforeFunc + CommandNotFound CommandNotFoundFunc + Commands []*Command + Compiled time.Time + Copyright string + CustomAppHelpTemplate string + DefaultCommand string + Description string + DisableSliceFlagSeparator bool + EnableBashCompletion bool + ErrWriter io.Writer + ExitErrHandler ExitErrHandlerFunc + ExtraInfo func() map[string]string + Flags []Flag + HelpName string + HideHelp bool + HideHelpCommand bool + HideVersion bool + InvalidFlagAccessHandler InvalidFlagAccessFunc + Metadata map[string]interface{} + Name string + OnUsageError OnUsageErrorFunc + Reader io.Reader + SkipFlagParsing bool + SliceFlagSeparator string + Suggest bool + Usage string + UsageText string + UseShortOptionHandling bool + Version string + Writer io.Writer + func NewApp() *App + func (a *App) Command(name string) *Command + func (a *App) Run(arguments []string) (err error) + func (a *App) RunAndExitOnError() + func (a *App) RunAsSubcommand(ctx *Context) (err error) + func (a *App) RunContext(ctx context.Context, arguments []string) (err error) + func (a *App) Setup() + func (a *App) ToFishCompletion() (string, error) + func (a *App) ToMan() (string, error) + func (a *App) ToManWithSection(sectionNumber int) (string, error) + func (a *App) ToMarkdown() (string, error) + func (a *App) VisibleCategories() []CommandCategory + func (a *App) VisibleCommands() []*Command + func (a *App) VisibleFlagCategories() []VisibleFlagCategory + func (a *App) VisibleFlags() []Flag + type Args interface + First func() string + Get func(n int) string + Len func() int + Present func() bool + Slice func() []string + Tail func() []string + type Author struct + Email string + Name string + func (a *Author) String() string + type BashCompleteFunc func(*Context) + type BeforeFunc func(*Context) error + type BoolFlag struct + Action func(*Context, bool) error + Aliases []string + Category string + Count *int + DefaultText string + Destination *bool + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value bool + func (f *BoolFlag) Apply(set *flag.FlagSet) error + func (f *BoolFlag) Get(ctx *Context) bool + func (f *BoolFlag) GetCategory() string + func (f *BoolFlag) GetDefaultText() string + func (f *BoolFlag) GetEnvVars() []string + func (f *BoolFlag) GetUsage() string + func (f *BoolFlag) GetValue() string + func (f *BoolFlag) IsRequired() bool + func (f *BoolFlag) IsSet() bool + func (f *BoolFlag) IsVisible() bool + func (f *BoolFlag) Names() []string + func (f *BoolFlag) RunAction(c *Context) error + func (f *BoolFlag) String() string + func (f *BoolFlag) TakesValue() bool + type CategorizableFlag interface + GetCategory func() string + type Command struct + Action ActionFunc + After AfterFunc + Aliases []string + ArgsUsage string + BashComplete BashCompleteFunc + Before BeforeFunc + Category string + CustomHelpTemplate string + Description string + Flags []Flag + HelpName string + Hidden bool + HideHelp bool + HideHelpCommand bool + Name string + OnUsageError OnUsageErrorFunc + SkipFlagParsing bool + Subcommands []*Command + Usage string + UsageText string + UseShortOptionHandling bool + func (c *Command) FullName() string + func (c *Command) HasName(name string) bool + func (c *Command) Names() []string + func (c *Command) Run(cCtx *Context, arguments ...string) (err error) + func (c *Command) VisibleCategories() []CommandCategory + func (c *Command) VisibleCommands() []*Command + func (c *Command) VisibleFlagCategories() []VisibleFlagCategory + func (c *Command) VisibleFlags() []Flag + func (cmd *Command) Command(name string) *Command + type CommandCategories interface + AddCommand func(category string, command *Command) + Categories func() []CommandCategory + type CommandCategory interface + Name func() string + VisibleCommands func() []*Command + type CommandNotFoundFunc func(*Context, string) + type Commands []*Command + type CommandsByName []*Command + func (c CommandsByName) Len() int + func (c CommandsByName) Less(i, j int) bool + func (c CommandsByName) Swap(i, j int) + type Context struct + App *App + Command *Command + func NewContext(app *App, set *flag.FlagSet, parentCtx *Context) *Context + func (cCtx *Context) Args() Args + func (cCtx *Context) Bool(name string) bool + func (cCtx *Context) Count(name string) int + func (cCtx *Context) Duration(name string) time.Duration + func (cCtx *Context) FlagNames() []string + func (cCtx *Context) Float64(name string) float64 + func (cCtx *Context) Float64Slice(name string) []float64 + func (cCtx *Context) Generic(name string) interface{} + func (cCtx *Context) Int(name string) int + func (cCtx *Context) Int64(name string) int64 + func (cCtx *Context) Int64Slice(name string) []int64 + func (cCtx *Context) IntSlice(name string) []int + func (cCtx *Context) IsSet(name string) bool + func (cCtx *Context) Lineage() []*Context + func (cCtx *Context) LocalFlagNames() []string + func (cCtx *Context) NArg() int + func (cCtx *Context) NumFlags() int + func (cCtx *Context) Path(name string) string + func (cCtx *Context) Set(name, value string) error + func (cCtx *Context) String(name string) string + func (cCtx *Context) StringSlice(name string) []string + func (cCtx *Context) Timestamp(name string) *time.Time + func (cCtx *Context) Uint(name string) uint + func (cCtx *Context) Uint64(name string) uint64 + func (cCtx *Context) Uint64Slice(name string) []uint64 + func (cCtx *Context) UintSlice(name string) []uint + func (cCtx *Context) Value(name string) interface{} + type Countable interface + Count func() int + type DocGenerationFlag interface + GetDefaultText func() string + GetEnvVars func() []string + GetUsage func() string + GetValue func() string + TakesValue func() bool + type DocGenerationSliceFlag interface + IsSliceFlag func() bool + type DurationFlag struct + Action func(*Context, time.Duration) error + Aliases []string + Category string + DefaultText string + Destination *time.Duration + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value time.Duration + func (f *DurationFlag) Apply(set *flag.FlagSet) error + func (f *DurationFlag) Get(ctx *Context) time.Duration + func (f *DurationFlag) GetCategory() string + func (f *DurationFlag) GetDefaultText() string + func (f *DurationFlag) GetEnvVars() []string + func (f *DurationFlag) GetUsage() string + func (f *DurationFlag) GetValue() string + func (f *DurationFlag) IsRequired() bool + func (f *DurationFlag) IsSet() bool + func (f *DurationFlag) IsVisible() bool + func (f *DurationFlag) Names() []string + func (f *DurationFlag) RunAction(c *Context) error + func (f *DurationFlag) String() string + func (f *DurationFlag) TakesValue() bool + type ErrorFormatter interface + Format func(s fmt.State, verb rune) + type ExitCoder interface + ExitCode func() int + func Exit(message interface{}, exitCode int) ExitCoder + func NewExitError(message interface{}, exitCode int) ExitCoder + type ExitErrHandlerFunc func(cCtx *Context, err error) + type Flag interface + Apply func(*flag.FlagSet) error + IsSet func() bool + Names func() []string + var BashCompletionFlag Flag = &BoolFlag{ ... } + var HelpFlag Flag = &BoolFlag{ ... } + var VersionFlag Flag = &BoolFlag{ ... } + type FlagCategories interface + AddFlag func(category string, fl Flag) + VisibleCategories func() []VisibleFlagCategory + type FlagEnvHintFunc func(envVars []string, str string) string + var FlagEnvHinter FlagEnvHintFunc = withEnvHint + type FlagFileHintFunc func(filePath, str string) string + var FlagFileHinter FlagFileHintFunc = withFileHint + type FlagNamePrefixFunc func(fullName []string, placeholder string) string + var FlagNamePrefixer FlagNamePrefixFunc = prefixedNames + type FlagStringFunc func(Flag) string + var FlagStringer FlagStringFunc = stringifyFlag + type FlagsByName []Flag + func (f FlagsByName) Len() int + func (f FlagsByName) Less(i, j int) bool + func (f FlagsByName) Swap(i, j int) + type Float64Flag struct + Action func(*Context, float64) error + Aliases []string + Category string + DefaultText string + Destination *float64 + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value float64 + func (f *Float64Flag) Apply(set *flag.FlagSet) error + func (f *Float64Flag) Get(ctx *Context) float64 + func (f *Float64Flag) GetCategory() string + func (f *Float64Flag) GetDefaultText() string + func (f *Float64Flag) GetEnvVars() []string + func (f *Float64Flag) GetUsage() string + func (f *Float64Flag) GetValue() string + func (f *Float64Flag) IsRequired() bool + func (f *Float64Flag) IsSet() bool + func (f *Float64Flag) IsVisible() bool + func (f *Float64Flag) Names() []string + func (f *Float64Flag) RunAction(c *Context) error + func (f *Float64Flag) String() string + func (f *Float64Flag) TakesValue() bool + type Float64Slice struct + func NewFloat64Slice(defaults ...float64) *Float64Slice + func (f *Float64Slice) Get() interface{} + func (f *Float64Slice) Serialize() string + func (f *Float64Slice) Set(value string) error + func (f *Float64Slice) String() string + func (f *Float64Slice) Value() []float64 + type Float64SliceFlag struct + Action func(*Context, []float64) error + Aliases []string + Category string + DefaultText string + Destination *Float64Slice + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value *Float64Slice + func (f *Float64SliceFlag) Apply(set *flag.FlagSet) error + func (f *Float64SliceFlag) Get(ctx *Context) []float64 + func (f *Float64SliceFlag) GetCategory() string + func (f *Float64SliceFlag) GetDefaultText() string + func (f *Float64SliceFlag) GetDestination() []float64 + func (f *Float64SliceFlag) GetEnvVars() []string + func (f *Float64SliceFlag) GetUsage() string + func (f *Float64SliceFlag) GetValue() string + func (f *Float64SliceFlag) IsRequired() bool + func (f *Float64SliceFlag) IsSet() bool + func (f *Float64SliceFlag) IsSliceFlag() bool + func (f *Float64SliceFlag) IsVisible() bool + func (f *Float64SliceFlag) Names() []string + func (f *Float64SliceFlag) RunAction(c *Context) error + func (f *Float64SliceFlag) SetDestination(slice []float64) + func (f *Float64SliceFlag) SetValue(slice []float64) + func (f *Float64SliceFlag) String() string + func (f *Float64SliceFlag) TakesValue() bool + type Generic interface + Set func(value string) error + String func() string + type GenericFlag struct + Action func(*Context, interface{}) error + Aliases []string + Category string + DefaultText string + Destination Generic + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + TakesFile bool + Usage string + Value Generic + func (f *GenericFlag) Apply(set *flag.FlagSet) error + func (f *GenericFlag) Get(ctx *Context) interface{} + func (f *GenericFlag) GetCategory() string + func (f *GenericFlag) GetDefaultText() string + func (f *GenericFlag) GetEnvVars() []string + func (f *GenericFlag) GetUsage() string + func (f *GenericFlag) GetValue() string + func (f *GenericFlag) IsRequired() bool + func (f *GenericFlag) IsSet() bool + func (f *GenericFlag) IsVisible() bool + func (f *GenericFlag) Names() []string + func (f *GenericFlag) RunAction(c *Context) error + func (f *GenericFlag) String() string + func (f *GenericFlag) TakesValue() bool + type Int64Flag struct + Action func(*Context, int64) error + Aliases []string + Base int + Category string + DefaultText string + Destination *int64 + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value int64 + func (f *Int64Flag) Apply(set *flag.FlagSet) error + func (f *Int64Flag) Get(ctx *Context) int64 + func (f *Int64Flag) GetCategory() string + func (f *Int64Flag) GetDefaultText() string + func (f *Int64Flag) GetEnvVars() []string + func (f *Int64Flag) GetUsage() string + func (f *Int64Flag) GetValue() string + func (f *Int64Flag) IsRequired() bool + func (f *Int64Flag) IsSet() bool + func (f *Int64Flag) IsVisible() bool + func (f *Int64Flag) Names() []string + func (f *Int64Flag) RunAction(c *Context) error + func (f *Int64Flag) String() string + func (f *Int64Flag) TakesValue() bool + type Int64Slice struct + func NewInt64Slice(defaults ...int64) *Int64Slice + func (i *Int64Slice) Get() interface{} + func (i *Int64Slice) Serialize() string + func (i *Int64Slice) Set(value string) error + func (i *Int64Slice) String() string + func (i *Int64Slice) Value() []int64 + type Int64SliceFlag struct + Action func(*Context, []int64) error + Aliases []string + Category string + DefaultText string + Destination *Int64Slice + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value *Int64Slice + func (f *Int64SliceFlag) Apply(set *flag.FlagSet) error + func (f *Int64SliceFlag) Get(ctx *Context) []int64 + func (f *Int64SliceFlag) GetCategory() string + func (f *Int64SliceFlag) GetDefaultText() string + func (f *Int64SliceFlag) GetDestination() []int64 + func (f *Int64SliceFlag) GetEnvVars() []string + func (f *Int64SliceFlag) GetUsage() string + func (f *Int64SliceFlag) GetValue() string + func (f *Int64SliceFlag) IsRequired() bool + func (f *Int64SliceFlag) IsSet() bool + func (f *Int64SliceFlag) IsSliceFlag() bool + func (f *Int64SliceFlag) IsVisible() bool + func (f *Int64SliceFlag) Names() []string + func (f *Int64SliceFlag) RunAction(c *Context) error + func (f *Int64SliceFlag) SetDestination(slice []int64) + func (f *Int64SliceFlag) SetValue(slice []int64) + func (f *Int64SliceFlag) String() string + func (f *Int64SliceFlag) TakesValue() bool + type IntFlag struct + Action func(*Context, int) error + Aliases []string + Base int + Category string + DefaultText string + Destination *int + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value int + func (f *IntFlag) Apply(set *flag.FlagSet) error + func (f *IntFlag) Get(ctx *Context) int + func (f *IntFlag) GetCategory() string + func (f *IntFlag) GetDefaultText() string + func (f *IntFlag) GetEnvVars() []string + func (f *IntFlag) GetUsage() string + func (f *IntFlag) GetValue() string + func (f *IntFlag) IsRequired() bool + func (f *IntFlag) IsSet() bool + func (f *IntFlag) IsVisible() bool + func (f *IntFlag) Names() []string + func (f *IntFlag) RunAction(c *Context) error + func (f *IntFlag) String() string + func (f *IntFlag) TakesValue() bool + type IntSlice struct + func NewIntSlice(defaults ...int) *IntSlice + func (i *IntSlice) Get() interface{} + func (i *IntSlice) Serialize() string + func (i *IntSlice) Set(value string) error + func (i *IntSlice) SetInt(value int) + func (i *IntSlice) String() string + func (i *IntSlice) Value() []int + type IntSliceFlag struct + Action func(*Context, []int) error + Aliases []string + Category string + DefaultText string + Destination *IntSlice + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value *IntSlice + func (f *IntSliceFlag) Apply(set *flag.FlagSet) error + func (f *IntSliceFlag) Get(ctx *Context) []int + func (f *IntSliceFlag) GetCategory() string + func (f *IntSliceFlag) GetDefaultText() string + func (f *IntSliceFlag) GetDestination() []int + func (f *IntSliceFlag) GetEnvVars() []string + func (f *IntSliceFlag) GetUsage() string + func (f *IntSliceFlag) GetValue() string + func (f *IntSliceFlag) IsRequired() bool + func (f *IntSliceFlag) IsSet() bool + func (f *IntSliceFlag) IsSliceFlag() bool + func (f *IntSliceFlag) IsVisible() bool + func (f *IntSliceFlag) Names() []string + func (f *IntSliceFlag) RunAction(c *Context) error + func (f *IntSliceFlag) SetDestination(slice []int) + func (f *IntSliceFlag) SetValue(slice []int) + func (f *IntSliceFlag) String() string + func (f *IntSliceFlag) TakesValue() bool + type InvalidFlagAccessFunc func(*Context, string) + type MultiError interface + Errors func() []error + type MultiFloat64Flag = SliceFlag[*Float64SliceFlag, []float64, float64] + type MultiInt64Flag = SliceFlag[*Int64SliceFlag, []int64, int64] + type MultiIntFlag = SliceFlag[*IntSliceFlag, []int, int] + type MultiStringFlag = SliceFlag[*StringSliceFlag, []string, string] + type OnUsageErrorFunc func(cCtx *Context, err error, isSubcommand bool) error + type Path = string + type PathFlag struct + Action func(*Context, Path) error + Aliases []string + Category string + DefaultText string + Destination *Path + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + TakesFile bool + Usage string + Value Path + func (f *PathFlag) Apply(set *flag.FlagSet) error + func (f *PathFlag) Get(ctx *Context) string + func (f *PathFlag) GetCategory() string + func (f *PathFlag) GetDefaultText() string + func (f *PathFlag) GetEnvVars() []string + func (f *PathFlag) GetUsage() string + func (f *PathFlag) GetValue() string + func (f *PathFlag) IsRequired() bool + func (f *PathFlag) IsSet() bool + func (f *PathFlag) IsVisible() bool + func (f *PathFlag) Names() []string + func (f *PathFlag) RunAction(c *Context) error + func (f *PathFlag) String() string + func (f *PathFlag) TakesValue() bool + type RequiredFlag interface + IsRequired func() bool + type Serializer interface + Serialize func() string + type SliceFlag struct + Destination *S + Target T + Value S + func (x *SliceFlag[T, S, E]) Apply(set *flag.FlagSet) error + func (x *SliceFlag[T, S, E]) GetCategory() string + func (x *SliceFlag[T, S, E]) GetDefaultText() string + func (x *SliceFlag[T, S, E]) GetDestination() S + func (x *SliceFlag[T, S, E]) GetEnvVars() []string + func (x *SliceFlag[T, S, E]) GetUsage() string + func (x *SliceFlag[T, S, E]) GetValue() string + func (x *SliceFlag[T, S, E]) IsRequired() bool + func (x *SliceFlag[T, S, E]) IsSet() bool + func (x *SliceFlag[T, S, E]) IsVisible() bool + func (x *SliceFlag[T, S, E]) Names() []string + func (x *SliceFlag[T, S, E]) SetDestination(slice S) + func (x *SliceFlag[T, S, E]) SetValue(slice S) + func (x *SliceFlag[T, S, E]) String() string + func (x *SliceFlag[T, S, E]) TakesValue() bool + type SliceFlagTarget interface + GetDestination func() []E + SetDestination func(slice []E) + SetValue func(slice []E) + type StringFlag struct + Action func(*Context, string) error + Aliases []string + Category string + DefaultText string + Destination *string + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + TakesFile bool + Usage string + Value string + func (f *StringFlag) Apply(set *flag.FlagSet) error + func (f *StringFlag) Get(ctx *Context) string + func (f *StringFlag) GetCategory() string + func (f *StringFlag) GetDefaultText() string + func (f *StringFlag) GetEnvVars() []string + func (f *StringFlag) GetUsage() string + func (f *StringFlag) GetValue() string + func (f *StringFlag) IsRequired() bool + func (f *StringFlag) IsSet() bool + func (f *StringFlag) IsVisible() bool + func (f *StringFlag) Names() []string + func (f *StringFlag) RunAction(c *Context) error + func (f *StringFlag) String() string + func (f *StringFlag) TakesValue() bool + type StringSlice struct + func NewStringSlice(defaults ...string) *StringSlice + func (s *StringSlice) Get() interface{} + func (s *StringSlice) Serialize() string + func (s *StringSlice) Set(value string) error + func (s *StringSlice) String() string + func (s *StringSlice) Value() []string + type StringSliceFlag struct + Action func(*Context, []string) error + Aliases []string + Category string + DefaultText string + Destination *StringSlice + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + TakesFile bool + Usage string + Value *StringSlice + func (f *StringSliceFlag) Apply(set *flag.FlagSet) error + func (f *StringSliceFlag) Get(ctx *Context) []string + func (f *StringSliceFlag) GetCategory() string + func (f *StringSliceFlag) GetDefaultText() string + func (f *StringSliceFlag) GetDestination() []string + func (f *StringSliceFlag) GetEnvVars() []string + func (f *StringSliceFlag) GetUsage() string + func (f *StringSliceFlag) GetValue() string + func (f *StringSliceFlag) IsRequired() bool + func (f *StringSliceFlag) IsSet() bool + func (f *StringSliceFlag) IsSliceFlag() bool + func (f *StringSliceFlag) IsVisible() bool + func (f *StringSliceFlag) Names() []string + func (f *StringSliceFlag) RunAction(c *Context) error + func (f *StringSliceFlag) SetDestination(slice []string) + func (f *StringSliceFlag) SetValue(slice []string) + func (f *StringSliceFlag) String() string + func (f *StringSliceFlag) TakesValue() bool + type SuggestCommandFunc func(commands []*Command, provided string) string + type SuggestFlagFunc func(flags []Flag, provided string, hideHelp bool) string + type Timestamp struct + func NewTimestamp(timestamp time.Time) *Timestamp + func (t *Timestamp) Get() interface{} + func (t *Timestamp) Set(value string) error + func (t *Timestamp) SetLayout(layout string) + func (t *Timestamp) SetLocation(loc *time.Location) + func (t *Timestamp) SetTimestamp(value time.Time) + func (t *Timestamp) String() string + func (t *Timestamp) Value() *time.Time + type TimestampFlag struct + Action func(*Context, *time.Time) error + Aliases []string + Category string + DefaultText string + Destination *Timestamp + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Layout string + Name string + Required bool + Timezone *time.Location + Usage string + Value *Timestamp + func (f *TimestampFlag) Apply(set *flag.FlagSet) error + func (f *TimestampFlag) Get(ctx *Context) *time.Time + func (f *TimestampFlag) GetCategory() string + func (f *TimestampFlag) GetDefaultText() string + func (f *TimestampFlag) GetEnvVars() []string + func (f *TimestampFlag) GetUsage() string + func (f *TimestampFlag) GetValue() string + func (f *TimestampFlag) IsRequired() bool + func (f *TimestampFlag) IsSet() bool + func (f *TimestampFlag) IsVisible() bool + func (f *TimestampFlag) Names() []string + func (f *TimestampFlag) RunAction(c *Context) error + func (f *TimestampFlag) String() string + func (f *TimestampFlag) TakesValue() bool + type Uint64Flag struct + Action func(*Context, uint64) error + Aliases []string + Base int + Category string + DefaultText string + Destination *uint64 + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value uint64 + func (f *Uint64Flag) Apply(set *flag.FlagSet) error + func (f *Uint64Flag) Get(ctx *Context) uint64 + func (f *Uint64Flag) GetCategory() string + func (f *Uint64Flag) GetDefaultText() string + func (f *Uint64Flag) GetEnvVars() []string + func (f *Uint64Flag) GetUsage() string + func (f *Uint64Flag) GetValue() string + func (f *Uint64Flag) IsRequired() bool + func (f *Uint64Flag) IsSet() bool + func (f *Uint64Flag) IsVisible() bool + func (f *Uint64Flag) Names() []string + func (f *Uint64Flag) RunAction(c *Context) error + func (f *Uint64Flag) String() string + func (f *Uint64Flag) TakesValue() bool + type Uint64Slice struct + func NewUint64Slice(defaults ...uint64) *Uint64Slice + func (i *Uint64Slice) Get() interface{} + func (i *Uint64Slice) Serialize() string + func (i *Uint64Slice) Set(value string) error + func (i *Uint64Slice) String() string + func (i *Uint64Slice) Value() []uint64 + type Uint64SliceFlag struct + Action func(*Context, []uint64) error + Aliases []string + Category string + DefaultText string + Destination *Uint64Slice + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value *Uint64Slice + func (f *Uint64SliceFlag) Apply(set *flag.FlagSet) error + func (f *Uint64SliceFlag) Get(ctx *Context) []uint64 + func (f *Uint64SliceFlag) GetCategory() string + func (f *Uint64SliceFlag) GetDefaultText() string + func (f *Uint64SliceFlag) GetEnvVars() []string + func (f *Uint64SliceFlag) GetUsage() string + func (f *Uint64SliceFlag) GetValue() string + func (f *Uint64SliceFlag) IsRequired() bool + func (f *Uint64SliceFlag) IsSet() bool + func (f *Uint64SliceFlag) IsSliceFlag() bool + func (f *Uint64SliceFlag) IsVisible() bool + func (f *Uint64SliceFlag) Names() []string + func (f *Uint64SliceFlag) String() string + func (f *Uint64SliceFlag) TakesValue() bool + type UintFlag struct + Action func(*Context, uint) error + Aliases []string + Base int + Category string + DefaultText string + Destination *uint + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value uint + func (f *UintFlag) Apply(set *flag.FlagSet) error + func (f *UintFlag) Get(ctx *Context) uint + func (f *UintFlag) GetCategory() string + func (f *UintFlag) GetDefaultText() string + func (f *UintFlag) GetEnvVars() []string + func (f *UintFlag) GetUsage() string + func (f *UintFlag) GetValue() string + func (f *UintFlag) IsRequired() bool + func (f *UintFlag) IsSet() bool + func (f *UintFlag) IsVisible() bool + func (f *UintFlag) Names() []string + func (f *UintFlag) RunAction(c *Context) error + func (f *UintFlag) String() string + func (f *UintFlag) TakesValue() bool + type UintSlice struct + func NewUintSlice(defaults ...uint) *UintSlice + func (i *UintSlice) Get() interface{} + func (i *UintSlice) Serialize() string + func (i *UintSlice) Set(value string) error + func (i *UintSlice) SetUint(value uint) + func (i *UintSlice) String() string + func (i *UintSlice) Value() []uint + type UintSliceFlag struct + Action func(*Context, []uint) error + Aliases []string + Category string + DefaultText string + Destination *UintSlice + EnvVars []string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value *UintSlice + func (f *UintSliceFlag) Apply(set *flag.FlagSet) error + func (f *UintSliceFlag) Get(ctx *Context) []uint + func (f *UintSliceFlag) GetCategory() string + func (f *UintSliceFlag) GetDefaultText() string + func (f *UintSliceFlag) GetEnvVars() []string + func (f *UintSliceFlag) GetUsage() string + func (f *UintSliceFlag) GetValue() string + func (f *UintSliceFlag) IsRequired() bool + func (f *UintSliceFlag) IsSet() bool + func (f *UintSliceFlag) IsSliceFlag() bool + func (f *UintSliceFlag) IsVisible() bool + func (f *UintSliceFlag) Names() []string + func (f *UintSliceFlag) String() string + func (f *UintSliceFlag) TakesValue() bool + type VisibleFlag interface + IsVisible func() bool + type VisibleFlagCategory interface + Flags func() []VisibleFlag + Name func() string Other modules containing this package github.com/kjeom/cli