Documentation ¶
Index ¶
- func CLIopts(c *cli.Context, have map[string]Cred, need map[string]string)
- func CommandFlags(f func() []cli.Flag, keys []string) []cli.Flag
- func CompleteFlags(flags []cli.Flag)
- func ConfigFile(c *cli.Context, have map[string]Cred, need map[string]string) error
- func GlobalFlags() []cli.Flag
- func ProfileSection(profile string) (*ini.Section, error)
- type Cred
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandFlags ¶
CommandFlags returns the flags for a given command. It takes as a parameter a function for returning flags specific to that command, and then appends those flags with flags that are valid for all commands.
func CompleteFlags ¶
CompleteFlags returns the possible flags for bash completion.
func ConfigFile ¶
func GlobalFlags ¶
GlobalFlags returns the flags that can be used after `rack` in a command, such as output flags and authentication flags.
func ProfileSection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.