Parallel Works

pw context rename

Rename a context

Synopsis

The pw context rename command renames an existing context.

If the renamed context is the current one, the current context reference is updated automatically.

pw context rename <old-name> <new-name> [flags]

Examples

  pw context rename user@activate.parallel.works production
  
  # Using alias
  pw ctx rename old-context new-context

Options

  -h, --help   help for rename

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging

SEE ALSO