Files
airshipctl/cmd/config/testdata/TestGetContextCmdGoldenOutput/missing.golden
Ian Howell f1591bc347 Add pluralized aliases to config get commands
This changes the `get-credentials` command to `get-credential` to be
uniform with the other config commads. It then adds pluralized aliases
to `get-credential`, `get-cluster`, and `get-context`

Change-Id: Icb5a308f591589f5b68a8ad1c172c3b99ef3a4f1
2020-05-06 14:35:29 -05:00

24 lines
439 B
Plaintext

Error: Missing configuration: Context with name 'contextMissing'
Usage:
get-context [NAME] [flags]
Aliases:
get-context, get-contexts
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
Flags:
--current get the current context
-h, --help help for get-context