tursodatabase/turso-cli

If a DB is archived, prompt the user to wakeup if they try to use the shell

開放

#917 建立於 2024年9月30日

 (1 則留言) (0 個反應) (0 位負責人)Go (50 個分叉)github user discovery
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

貢獻者指南