turso-cli
turso-cli copied to clipboard
CLI data cache gets out of date with changes from other sources, need mechanism to force a cache reset
The CLI caches various bits of data from the underlying platform API. When there are changes from other sources, the cache doesn't reset until expiration. This can be confusing for users of the CLI who aren't aware that it does caching at all. Recovering from this before expiration requires manually manipulating settings.json, which is not great. We could provide a way for people to either bypass the cache on a per-command basis, or reset it entirely with a command.
For example: turso db list --force
Or: turso cache reset