|
|
|
@ -22,6 +22,8 @@ type Float64SliceFlag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, []float64) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// IsSet returns whether or not the flag has been set through env or file
|
|
|
|
@ -92,6 +94,8 @@ type GenericFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
TakesFile bool
|
|
|
|
|
|
|
|
|
|
Action func(*Context, interface{}) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -165,6 +169,8 @@ type Int64SliceFlag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, []int64) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// IsSet returns whether or not the flag has been set through env or file
|
|
|
|
@ -233,6 +239,8 @@ type IntSliceFlag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, []int) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// IsSet returns whether or not the flag has been set through env or file
|
|
|
|
@ -303,6 +311,8 @@ type PathFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
TakesFile bool
|
|
|
|
|
|
|
|
|
|
Action func(*Context, Path) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -370,6 +380,8 @@ type StringSliceFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
TakesFile bool
|
|
|
|
|
|
|
|
|
|
Action func(*Context, []string) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// IsSet returns whether or not the flag has been set through env or file
|
|
|
|
@ -442,6 +454,8 @@ type TimestampFlag struct {
|
|
|
|
|
Layout string
|
|
|
|
|
|
|
|
|
|
Timezone *time.Location
|
|
|
|
|
|
|
|
|
|
Action func(*Context, *time.Time) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -515,6 +529,8 @@ type Uint64SliceFlag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, []uint64) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// IsSet returns whether or not the flag has been set through env or file
|
|
|
|
@ -555,6 +571,8 @@ type UintSliceFlag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, []uint) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// IsSet returns whether or not the flag has been set through env or file
|
|
|
|
@ -597,6 +615,8 @@ type BoolFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Count *int
|
|
|
|
|
|
|
|
|
|
Action func(*Context, bool) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -662,6 +682,8 @@ type Float64Flag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, float64) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -737,6 +759,8 @@ type IntFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Base int
|
|
|
|
|
|
|
|
|
|
Action func(*Context, int) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -812,6 +836,8 @@ type Int64Flag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Base int
|
|
|
|
|
|
|
|
|
|
Action func(*Context, int64) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -887,6 +913,8 @@ type StringFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
TakesFile bool
|
|
|
|
|
|
|
|
|
|
Action func(*Context, string) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -952,6 +980,8 @@ type DurationFlag struct {
|
|
|
|
|
|
|
|
|
|
Aliases []string
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Action func(*Context, time.Duration) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -1027,6 +1057,8 @@ type UintFlag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Base int
|
|
|
|
|
|
|
|
|
|
Action func(*Context, uint) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
@ -1102,6 +1134,8 @@ type Uint64Flag struct {
|
|
|
|
|
EnvVars []string
|
|
|
|
|
|
|
|
|
|
Base int
|
|
|
|
|
|
|
|
|
|
Action func(*Context, uint64) error
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// String returns a readable representation of this value (for usage defaults)
|
|
|
|
|