Run one command against another org

setup & auth

// what it does

Every database-scoped command accepts --org, overriding the configured default for just that invocation. Handy for quick cross-org checks without flipping your global config back and forth.

// shell

$ pscale database list --org other-org

// gotcha

Flag placement matters: --org belongs AFTER the subcommand (`pscale database list --org x`), not on the root (`pscale --org x database list` fails). And in CI, --org must match the org that issued the service token — a mismatch fails with a confusing not-found error.

// resources