mcloud-variables

Solid

Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values.

DevOps & Infrastructure 215 stars 26 forks Updated 2 days ago

Install

View on GitHub

Quality Score: 82/100

Stars 20%
78
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
0
Description 5%
100

Skill Content

# Cloud CLI: Variables Commands Execute `mcloud variables` commands to inspect and manage environment variables for Cloud environments. ## Constraints - **Never pass `--reveal` unless the user explicitly asks.** Secret values appear in terminal scrollback, log aggregators, and process listings. - **Variable changes need a deploy to apply.** `set`/`delete` don't rebuild or redeploy. Run `mcloud environments redeploy <env>` for a **runtime** variable, or `mcloud environments trigger-build <env>` for a **build** variable (a redeploy reuses the existing image and won't pick up build-variable changes). - **System variables can't be deleted**, and `delete` requires `--yes` in non-interactive mode. - Looking up or creating a variable by key requires `--project` and `--environment` (or the equivalent in active context). Referencing by ID (`var_...`) works without project/environment context. - `set` and `delete` require mcloud CLI v0.1.10+. ## Commands ### variables list List all environment variables for a Cloud environment. ```bash mcloud variables list \ --organization <org-id> \ --project <project-id-or-handle> \ --environment <environment-handle> \ --json ``` **Options:** - `-o/--organization <id>` — Organization ID (falls back to active context) - `-p/--project <id-or-handle>` — Project ID or handle (falls back to active context) - `-e/--environment <handle>` — Environment handle (falls back to active context) - `-t/--type <backend|storefront>` — Which variable ...

Details

Author
medusajs
Repository
medusajs/medusa-agent-skills
Created
7 months ago
Last Updated
2 days ago
Language
JavaScript
License
None

Similar Skills

Semantically similar based on skill content — not just same category