
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
1.1 KiB
1.1 KiB
airshipctl config get-context
Airshipctl command to get context(s) information from the airshipctl config
Synopsis
Displays information about contexts such as associated manifests, users, and clusters. It would display a specific context information, or all defined context information if no name is provided.
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 supported output format yaml or `table`, default is `yaml` (default "yaml")
-h, --help help for get-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