Getting Started
Make sure to first set up your PlanetScale developer environment. Once you’ve installed thepscale CLI, you can interact with PlanetScale and manage your databases straight from the command line.
The traffic-control command
Manage Database Traffic Control budgets and rules for a branch. This command is only supported for Postgres databases.
Usage:
Available sub-commands
Available flags
Global flags
The budget sub-command
Manage traffic budgets.
Usage:
Available sub-commands
The budget create sub-command
Create a traffic budget.
Usage:
The budget update sub-command
Update a traffic budget.
Usage:
<budget-id> can be retrieved by running the show, create, or list commands.
Available flags:
Same flags as budget create.
The budget show sub-command
Show a traffic budget.
Usage:
The budget delete sub-command
Delete a traffic budget.
Usage:
Aliases:
delete, rm
The rule sub-command
Manage traffic rules.
Usage:
Available sub-commands
The rule create sub-command
Create a traffic rule on a budget.
Usage:
The rule delete sub-command
Delete a traffic rule from a budget.
Usage:
Aliases:
delete, rm

