Get machine-readable output from any command
automation & ci
// what it does
Every pscale command accepts --format json (or csv), turning the CLI into a scriptable API client. Combined with jq, it answers questions like "which branches are older than a week" in one pipeline.
// shell
$ pscale branch list mydb --format json | jq -r '.[].name'$ pscale database list --format csv// gotcha
Parse JSON, never the human table output — the table layout changes between versions and will silently break your awk. Exit codes are meaningful too, so `pscale branch show` works as an existence test.