mcloud-environments

Solid

Execute mcloud environments commands to list, get, create, delete, redeploy, or trigger builds for Cloud environments. Use when managing environment lifecycle, redeploying after variable changes, or starting new builds from source.

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: Environments Commands Execute `mcloud environments` commands to manage environment lifecycle and deployments. ## Constraints - **Production environments cannot be deleted.** Always check `type` via `environments get --json` before attempting delete in automation. - Use `--yes` for destructive operations (`delete`) in non-interactive contexts. - `redeploy` vs `trigger-build` are not interchangeable — choose the right one based on where the fix is. ## Commands ### environments list List all environments in a project. ```bash mcloud environments list --organization <org-id> --project <project-id-or-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) - `--json` — Output as JSON ### environments get Retrieve a single environment by its ID or handle. ```bash mcloud environments get <environment-id-or-handle> --organization <org-id> --project <project-id-or-handle> --json ``` **Arguments:** - `environment` — Environment ID or handle (required) **Options:** - `-o/--organization <id>`, `-p/--project <id-or-handle>`, `--json` ### environments create Create a new long-lived environment. ```bash mcloud environments create \ --organization <org-id> \ --project <project-id-or-handle> \ --name "Staging" \ --branch develop \ --json ``` **Options:** - `-o/--organization <id>`, `-p/--project <id-or-handle>` - `-n/-...

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