CLI & APICommand reference
stackblaze list
List projects (alias for projects list)
Usage: stackblaze list|ls [options]
List projects (alias for projects list)
Options:
--api-url <url> StackBlaze API base URL (env STACKBLAZE_API_URL)
--token <token> API token, sb_pat_... (env STACKBLAZE_TOKEN)
-p, --project <name> Project name
-e, --env <name> Environment name (default: production)
-a, --app <name> App name
--json Output JSON (same as -o json) (default: false)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print helpExample
List every project in the organization with its environments (stackblaze ls and stackblaze projects list do the same):
stackblaze list┌───────────────────────┬────────────────────────┬────────┐
│ Project │ Environments │ Domain │
├───────────────────────┼────────────────────────┼────────┤
│ github-demo-587h │ dev, stage, production │ — │
├───────────────────────┼────────────────────────┼────────┤
…
├───────────────────────┼────────────────────────┼────────┤
│ github-demo-cw8z │ dev, stage, production │ — │
├───────────────────────┼────────────────────────┼────────┤
│ github-demo-gv35 │ dev, stage, production │ — │
├───────────────────────┼────────────────────────┼────────┤
│ github-demo-kpw0 │ dev, stage, production │ — │
├───────────────────────┼────────────────────────┼────────┤
…
├───────────────────────┼────────────────────────┼────────┤
│ import-demo-brkm │ dev, stage, production │ — │
├───────────────────────┼────────────────────────┼────────┤
│ my-first-project-h22a │ dev, stage, production │ — │
├───────────────────────┼────────────────────────┼────────┤
…
└───────────────────────┴────────────────────────┴────────┘