pscale branch create <source-database> <branch>
Create a new branch from a database
Arguments
Name | Description |
---|
source-database | |
branch | |
Options
Name | Description |
---|
--help, -h | Show 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 "https://api.planetscale.com/") |
--config <string> | Config file (default is $HOME/.config/planetscale/pscale.yml) |
--debug | Enable debug mode |
--format, -f <string> | Show output in a specific format. Possible values: [human, json, csv] (default "human") |
--no-color | Disable color output |
--service-token <string> | Service Token for authenticating |
--service-token-name <string> | The Service Token name for authenticating |
--from | Branch to be created from |
--region | Region for the database |
--restore | Backup to restore into the branch |
--web, -w | Create a branch in your web browser |