cli icon indicating copy to clipboard operation
cli copied to clipboard

The CLI for PlanetScale Database

Results 48 cli issues
Sort by recently updated
recently updated
newest added

Right now if you try to connect to a database that doesnt exist on your active org you'll get: ```sh $ pscale connect does-not-exist Error: Not Found ``` This caused...

This pull request adds a command for adding refreshing of expired authentication using `pscale auth refresh` vs. re-running `pscale auth login`. Don't necessarily have to merge this, but it's something...

Context shared by user: > Right now in order to do a deploy request via CLI you need to do it in 3 calls : create + deploy + close....

This logic switches to using a keyring like for example keychain on MacOS if that is available on the platform. This provides better and more secure secret storage for the...

Currently if the auth token has expired, we show ``` {"error":"invalid_token","error_description":"The access token is invalid","state":"unauthorized"} ``` This could be better and give instructions on how to fix it. Such as:...

### Scenario - I'm running pscale 0.89 on Ubuntu Linux 64-bit on Raspberry Pi 3 B+ (ARM64) - I'm running pscale inside a Docker container, using the Ubuntu base image...

`pscale shell` creates a history file by default in `$HOME/.pscale/history`. While this is not an error, I think the CLI should respect an OS (or the user’s) XDG base directory...

### Problem description By default, `pscale connect` binds to 127.0.0.1: ``` # starting up docker container docker run -e PLANETSCALE_SERVICE_TOKEN -e PLANETSCALE_SERVICE_TOKEN_NAME -e $PLANETSCALE_ORG -e $PLANETSCALE_BRANCH -e $PLANETSCALE_DB --rm -it...

![image](https://user-images.githubusercontent.com/32040951/129861850-4f5993c7-0f15-4da1-8888-7665841ff877.png)