♻️ cli, vanth: Implement CLI commands and enhance store

- Added `write`, `get`, `get-all`, `delete`, and `delete-all` subcommands to the CLI.
- Refactored store operations to support raw type handling and removed `Vanth` trait requirement where possible.
- Implemented tracing-based logging with console output for improved observability.
- Improved SQLite store error handling with specific cases for missing tables.
- Added new dependencies including `tracing`, `tracing-subscriber`, `nu-ansi-term`, `sharded-slab`, and `valuable`.
- Removed `.zed/settings.json` editor configuration file.
This commit is contained in:
Markus Scully 2025-08-07 16:11:54 +03:00
parent 9e7979931c
commit a91d92b6ff
Signed by: mascully
GPG key ID: 93CA5814B698101C
10 changed files with 361 additions and 77 deletions

View file

@ -17,7 +17,7 @@ struct Bar {
fn test_sqlite_store() {
let dir = TempDir::new().unwrap();
let path = dir.path().join("test.db");
let mut store = Store::from_path(path.clone()).unwrap();
let mut store = Store::sqlite_from_path(path.clone()).unwrap();
let foo_1 = Foo { inner: 1 };
let foo_2 = Foo { inner: 2 };