package
3.0.4+incompatible
Repository: https://github.com/stackvista/stackstate-cli.git
Documentation: pkg.go.dev
# Functions
Duration defines a time.Duration flag with specified name, default value, and usage string.
DurationP is like Duration, but accepts a shorthand letter that can be used after a single dash.
DurationVar defines a time.Duration flag with specified name, default value, and usage string.
DurationVarP is like DurationVar, but accepts a shorthand letter that can be used after a single dash.
Enum defines a string flag with specified name, default value, and usage string.
Enum defines a string flag with specified name, default value, and usage string.
EnumVar defines a string flag with specified name, default value, and usage string.
EnumVarP is like EnumVar, but accepts a shorthand letter that can be used after a single dash.
GetDuration return the duration value of a flag with the given name.
GetEnum return the string value of a flag with the given name.
No description provided by the author
GetRelativeTime return the time value of a flag with the given name.
No description provided by the author
This clock is useful when parsing multiple time flags.
NewTestClock is used for setting a specific point in time for testing purposes.
No description provided by the author
No description provided by the author
RelativeTime defines a time.Time flag with specified name, default value, and usage string.
RelativeTimeP is like Time, but accepts a shorthand letter that can be used after a single dash.
RelativeTimeVar defines a time.Time flag with specified name, default value, and usage string.
RelativeTimeVarP is like TimeVar, but accepts a shorthand letter that can be used after a single dash.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
RelativeTimeValue adapts time.Time for use as a flag.
# Interfaces
No description provided by the author