airshipctl/docs/source/cli/airshipctl_config_set-context.md
Ruslan Aliev e4436ca36d Revert "Adding commands to get and set encryption configs"
This reverts commit 694067492cfedd5e7b369b396bfce9923c0ca3a1.

Reason for revert: Encryption configs inside airship config are
no longer required. Encrypt feature was implemented different way.

Change-Id: I1c8feec75000402e314e815e4832ce740f0e1254
2021-03-10 11:30:32 -06:00

945 B

airshipctl config set-context

Manage contexts

Synopsis

Create or modify a context in the airshipctl config files.

airshipctl config set-context NAME [flags]

Examples


# Create a new context named "exampleContext"
airshipctl config set-context exampleContext \
  --manifest=exampleManifest \

# Update the manifest of the current-context
airshipctl config set-context \
  --current \
  --manifest=exampleManifest

Options

      --current           update the current context
  -h, --help              help for set-context
      --manifest string   set the manifest for the specified context

Options inherited from parent commands

      --airshipconf string   Path to file for airshipctl configuration. (default "$HOME/.airship/config")
      --debug                enable verbose output

SEE ALSO