planetscale / cli

The CLI for PlanetScale Database
https://planetscale.com/cli
Apache License 2.0
604 stars 51 forks source link

switch with --create bug when .pscale.yml is missing #741

Closed mscoutermarsh closed 1 year ago

mscoutermarsh commented 1 year ago

If there is no .pscale.yml existing.

When running pscale switch branch-name --database db-name --create. The branch does not get created. It returns "Error: Not Found".

When a .pscale.yml already exists, it works and creates the branch.