simplify the app using typer

This commit is contained in:
Matteo Rosati
2026-04-22 22:14:26 +02:00
parent 2dfaa68466
commit b52952a2eb
17 changed files with 334 additions and 505 deletions
+7
View File
@@ -122,6 +122,7 @@ delete-collection | dc <collection>
count | co <collection>
add-data | ad <collection> <file>
query | q <collection> <query_text>
delete | del <collection> --where <condition>=<value>
```
### Examples
@@ -162,6 +163,12 @@ Delete a collection:
chromy delete-collection notes
```
Delete records by metadata:
```bash
chromy delete notes --where file_name=example.txt
```
## How ingestion works
When you run `add-data`, the file is: