Documentation ¶
Index ¶
- func AddDebugFlag(fs *pflag.FlagSet)
- func AddProfileFlag(fs *pflag.FlagSet)
- func AddRegionFlag(fs *pflag.FlagSet)
- func GetProfile() string
- func GetRegion() string
- func HasUnknownFlags() bool
- func IsValidMode(modes []string, mode string) bool
- func ParseUnknownFlags(cmd *cobra.Command, argv []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDebugFlag ¶
AddDebugFlag adds the '--debug' flag to the given set of command line flags.
func AddProfileFlag ¶
AddProfileFlag adds the '--profile' flag to the given set of command line flags.
func AddRegionFlag ¶ added in v0.1.10
AddRegionFlag adds the '--region' flag to the given set of command line flags.
func GetProfile ¶ added in v0.1.10
func GetProfile() string
func HasUnknownFlags ¶ added in v1.0.0
func HasUnknownFlags() bool
HasUnknownFlags returns whether the flag parser detected any unknown flags
func IsValidMode ¶ added in v1.1.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.