pscale branch

Create, delete, diff, and manage branches


create, bCreate a new branch from a database
delete, rmDelete a branch from a database
diffShow the diff of a branch
list, lsList all branches of a database
promote, pPromote a new branch from a database
refresh-schemaRefresh the schema for a database branch
schemaShow the schema of a branch
showShow a specific branch of a database
switchSwitches the current project to use the specified branch


--help, -hShow help
--api-token <string>The API token to use for authenticating against the PlanetScale API
--api-url <string>The base URL for the PlanetScale API. (default "")
--config <string>Config file (default is $HOME/.config/planetscale/pscale.yml)
--debugEnable debug mode
--format, -f <string>Show output in a specific format. Possible values: [human, json, csv] (default "human")
--no-colorDisable color output
--service-token <string>Service Token for authenticating
--service-token-name <string>The Service Token name for authenticating