✨♻️➕ 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:
parent
9e7979931c
commit
a91d92b6ff
10 changed files with 361 additions and 77 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue