tursodatabase / turso-cli

Command line interface to Turso.
https://turso.tech
MIT License
215 stars 35 forks source link

When the user lacks a token, remind them to auth with `turso auth login` #91

Closed CodingDoug closed 1 year ago

CodingDoug commented 1 year ago

Right now, when the user lacks auth, they are just presented with a message "401 Unauthorized". Instead, let's detect this and show a message telling them to first authenticate with turso auth login.

haaawk commented 1 year ago

Is this a duplicate of https://github.com/chiselstrike/iku-turso-cli/issues/154 @CodingDoug ?

CodingDoug commented 1 year ago

Is this a duplicate of https://github.com/chiselstrike/iku-turso-cli/issues/154 @CodingDoug ?

Looks like it.