airshipctl/cmd/config/testdata/TestConfigUseContextGoldenOutput/config-use-context-does-not-exist.golden
Drew Walters a437caa141 [#56] Add use-context subcommand
Currently, airshipctl users switch their current context by modifying
the airshipctl config file or executing airshipctl config set-context
[NAME]. This change introduces the use-context subcommand, which
replaces the current behavior of using set-context without flags. After
this change, set-context will only be used to modify contexts.

Change-Id: If3980138a0abeeb6c59c07615b5373654073610a
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-26 10:35:13 -06:00

13 lines
213 B
Plaintext

Error: Missing configuration: Context with name 'foo'
Usage:
use-context NAME [flags]
Examples:
# Switch to a context named "e2e"
airshipctl config use-context e2e
Flags:
-h, --help help for use-context