pscale
Pscale is a CLI library for communicating with PlanetScale's API
Subcommands
Name | Description |
---|---|
audit-log | List audit logs |
auth | Login and logout via the PlanetScale API |
backup | Create, list, show, and delete branch backups |
branch | Create, delete, diff, and manage branches |
completion | Generate completion script for your shell |
connect | Create a secure connection to a database and branch for a local client |
database, db | Create, read, delete, and dump/restore databases |
deploy-request, dr | Create, review, diff, and manage deploy requests |
help | Help about any command |
org | List, show, and switch organizations |
password | Create, list, and delete branch passwords |
region | List regions |
service-token | Create, list, and manage access for service tokens |
shell | Open a MySQL shell instance to a database and branch |
signup, register, sign-up | Signup for a new PlanetScale account |
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 |
--version | Show pscale version |