planetscale/cli

`pscale password delete` should be able to delete by name

lomholdt opened this issue · 0 comments

When I do a pscale password delete I would expect to be able to pass a name instead of an ID to delete the password.
Currently I have to fetch the ID first to be able to do this. Even the CI/CD helper scripts is doing workarounds to to this. Since the display name is unique it should be possible to add this by adding for example a new flag --name, and if It is set delete by it.