stackblaze run
Runs a command on your machine with the linked app’s variables added to the environment. Variables from the app win over your local ones. STACKBLAZE_PIPELINE, STACKBLAZE_PHASE and STACKBLAZE_APP are set too.
stackblaze run [scope flags] <command> [args...]Put CLI flags before the command: everything after the command name is passed to it unchanged.
Also accepts -p, --pipeline, --phase, -a, --app, --token and --api-url (see scope). No JSON output.
Examples
Section titled “Examples”stackblaze run npm teststackblaze run -a api node scripts/migrate.js --dry-runrun exits with the command’s exit code. The injected variables are the ones stackblaze variables list shows.