Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
func New ¶
The purpose of this package is to allow the assume cli command to accept flags on either side of the "role" arg for example, `assume -c my-role -region=us-east-1` by default, urfav-cli, the cli framework that we are using does not support this usage pattern.
We have extracted some methods from the original urfav-cli library to mimic the original behaviour but processing all the flags. to use this in a command, This package interacts with os.Args directly
allFlags := cfflags.New("name",GlobalFlagsList, c) allFlags.String("region")
func (*Flags) StringSlice ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.