Skip to content

cub worker get-envs

cub worker get-envs

Get Bridge Worker environment variables

Synopsis

Get Bridge Worker environment variables.

Examples:

  # Get the environment variables for a Bridge Worker
  cub worker get-envs <worker-slug>

  # Emit plain KEY=value lines (no shell prefix, no comments). Suitable for
  # writing to a .env file or feeding to a kustomize secretGenerator.
  cub worker get-envs --no-export <worker-slug>
cub worker get-envs <worker-slug> [flags]

Options

  -h, --help        help for get-envs
      --no-export   Emit plain KEY=value lines without shell-specific export/setenv prefixes or source-with comments

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output
      --space string     space ID to perform command on

SEE ALSO