CLI & APICommand reference
stackblaze init
Create a project and link this directory
Usage: stackblaze init|new [options]
Create a project and link this directory
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)
-y, --yes Accept defaults without prompting (default: false)
--domain <host> Wildcard domain for the project
--phases <names...> Environments to create (default: production)
-o, --output <format> Output format: text or json (choices: "text", "json")
-h, --help Print help