Skip to content

cub context set

cub context set

Set the default space for a context

Synopsis

Set the default space for the current context or a specific context.

This command updates the default space that will be used for commands when no --space flag is provided.

Examples:

  # Set default space for current context
  cub context set --space=production

  # Set default space for a specific context
  cub context set prod-context --space=production

  # Set default space to development
  cub context set --space=dev
cub context set [context-name] [options] [flags]

Options

  -h, --help           help for set
      --space string   Default space slug

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO