3274b41151
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: If3ec175e2f582919296576a4bff6ae64871a7333
21 lines
816 B
Plaintext
21 lines
816 B
Plaintext
Creates or modifies context in the airshipctl config file based on the CONTEXT_NAME passed or for the current context
|
|
if --current flag is specified. It accepts optional flags which include manifest name and management-config name.
|
|
|
|
Usage:
|
|
set-context CONTEXT_NAME [flags]
|
|
|
|
Examples:
|
|
|
|
To create a new context named "exampleContext"
|
|
# airshipctl config set-context exampleContext --manifest=exampleManifest
|
|
|
|
To update the manifest of the current-context
|
|
# airshipctl config set-context --current --manifest=exampleManifest
|
|
|
|
|
|
Flags:
|
|
--current update the current context
|
|
-h, --help help for set-context
|
|
--management-config string set the management config for the specified context
|
|
--manifest string set the manifest for the specified context
|