airshipctl/docs/source/cli/airshipctl_config_get-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

47 lines
873 B
Markdown

## airshipctl config get-context
Get context information from the airshipctl config
### Synopsis
Display information about contexts such as associated manifests, users, and clusters.
```
airshipctl config get-context [NAME] [flags]
```
### Examples
```
# List all contexts
airshipctl config get-contexts
# Display the current context
airshipctl config get-context --current
# Display a specific context
airshipctl config get-context exampleContext
```
### Options
```
--current get the current context
-h, --help help for get-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