-h, --help.
scratch
Run SQL or a Postgres client command against a temporary scratch branch Creates a branch from the parent given, runs what it is asked to, and deletes the branch afterwards, so a query or a migration can be tried against real data without touching an existing branch.Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
Binary command to run with scratch database environment variables; pass arguments to the binary after —