a437caa141
Currently, airshipctl users switch their current context by modifying the airshipctl config file or executing airshipctl config set-context [NAME]. This change introduces the use-context subcommand, which replaces the current behavior of using set-context without flags. After this change, set-context will only be used to modify contexts. Change-Id: If3980138a0abeeb6c59c07615b5373654073610a Signed-off-by: Drew Walters <andrew.walters@att.com>
22 lines
909 B
Plaintext
22 lines
909 B
Plaintext
Modify airshipctl config files using subcommands
|
|
like "airshipctl config set-context my-context"
|
|
|
|
Usage:
|
|
config [command]
|
|
|
|
Available Commands:
|
|
get-cluster Display a specific cluster or all defined clusters if no name is provided
|
|
get-context Display a specific context, the current-context or all defined contexts if no name is provided
|
|
get-credentials Gets a user entry from the airshipctl config
|
|
help Help about any command
|
|
init Generate initial configuration files for airshipctl
|
|
set-cluster Sets a cluster entry in the airshipctl config
|
|
set-context Switch to a new context or update context values in the airshipctl config
|
|
set-credentials Sets a user entry in the airshipctl config
|
|
use-context Switch to a different airshipctl context.
|
|
|
|
Flags:
|
|
-h, --help help for config
|
|
|
|
Use "config [command] --help" for more information about a command.
|