Switch the active organization

setup & auth

// what it does

Sets the default organization for all subsequent commands, writing it to the pscale config. Inside a project directory it can write a local .pscale.yml, pinning that repo to its org so you never fat-finger a branch into the wrong account.

// shell

$ pscale org switch my-org

// gotcha

The switch is machine-global unless a per-project config exists — if you juggle client orgs, commit a .pscale.yml per repo (or always pass --org) instead of relying on whatever you switched to last.

// resources