airshipctl/docs/source/cli/airshipctl_config_get-context.md
Sirisha Gopigiri f70e93762f Fix airshipctl config get-context maximum args
Limit the number of arguments that can be passed to
get-context command to 1 for now

Closes: #526
Change-Id: Ib140fc836e01c284c05719dfb7e3f29d0b191538
2021-04-16 19:03:54 +05:30

879 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
  -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