
The command "airshipctl config get-context" will display the name of the contexts as well as the current context name. Relates-To: #475 Change-Id: I8234d74f6b98869e27e4974a54b68230d8be8565
976 B
976 B
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 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
--format yaml choose between yaml or `table`, default is `yaml` (default "yaml")
-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 - Manage the airshipctl config file