tursodatabase / turso-cli

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

Implement `turso db hints` command #319

Open penberg opened 1 year ago

penberg commented 1 year ago

It's not always obvious where to replicate database when using edge functions. For example:

https://twitter.com/jokcylou/status/1643895796050575362

Let's implement a turso db hints command, which shows you what are the closest locations your database is accessed from so you know where to replicate.

CodingDoug commented 1 year ago

There was a conversation where alternative command names were proposed (hints is not very descriptive). One option is db inspect traffic (while also moving the current db inspect to db inspect usage) . I anticipate there will be future growth in commands that report the current state of a database, so I think it's worthwhile to go ahead and plan the command structure for that.