21f015b502
This PS updates cmd related to root, completion, document and version subcommands. It also updates minor details in other subcommands. The description and examples are updated for the airshipctl commands, which will be inturn used for generating documentation. Please ignore the .md file changes in this PS. They are added for zuul gates to pass. Here is the PS with generated documention files https://review.opendev.org/c/airship/airshipctl/+/789250 Relates-To: #280 Change-Id: I562c15c0d25b2e9731c0eb03854d1d348eb435f2
822 B
822 B
airshipctl config use-context
Airshipctl command to switch to a different context
Synopsis
Switch to a different context defined in the airshipctl config file. This command doesn't change the context for the kubeconfig file.
airshipctl config use-context CONTEXT_NAME [flags]
Examples
Switch to a context named "exampleContext" in airshipctl config file
# airshipctl config use-context exampleContext
Options
-h, --help help for use-context
Options inherited from parent commands
--airshipconf string path to the airshipctl configuration file. Defaults to "$HOME/.airship/config"
--debug enable verbose output
SEE ALSO
- airshipctl config - Airshipctl command to manage airshipctl config file