tursodatabase/turso-cli
If a DB is archived, prompt the user to wakeup if they try to use the shell
开放
#917 创建于 2024年9月30日
good first issue
仓库指标
- 星标
- (302 个星标)
- PR 合并指标
- (平均合并 4小时 32分钟) (30 天内合并 2 个 PR)
描述
Current behaviour:
➜ ~ turso db list
NAME URL ARCHIVED
charmed-rat-king libsql://charmed-rat-king-avinassh.turso.io Yes
renewed-cherry libsql://renewed-cherry-avinassh.turso.io Yes
➜ ~ turso db shell charmed-rat-king
Error: failed to connect to database. err: failed to WebSocket dial: expected handshake response status code 101 but got 502
I propose:
➜ ~ turso db shell charmed-rat-king
*Your DB might be archived. Please run `turso group unarchive <group name>` to unarchive it*
Error: failed to connect to database. err: failed to WebSocket dial: expected handshake response status code 101 but got 502