airshipctl/docs/source/cli/airshipctl_config_use-context.md
Ruslan Aliev fc33287204 Remove kubeconfig from config struct
Change-Id: I5ab8722dd151d9e652e0b20e1d82988cd98505af
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2020-10-07 14:35:07 -05:00

41 lines
770 B
Markdown

## airshipctl config use-context
Switch to a different context
### Synopsis
Switch to a different context defined in the airshipctl config file.
This command doesn't change a context for the kubeconfig file.
```
airshipctl config use-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 file for airshipctl configuration. (default "$HOME/.airship/config")
--debug enable verbose output
```
### SEE ALSO
* [airshipctl config](airshipctl_config.md) - Manage the airshipctl config file