add delete collection, refactor

This commit is contained in:
2026-04-21 14:45:01 +02:00
parent 2b07bf471d
commit 35992e6029
3 changed files with 38 additions and 9 deletions
+6 -1
View File
@@ -25,6 +25,11 @@ def build_parser() -> argparse.ArgumentParser:
)
delete_parser.add_argument("name", help="Name of the collection to delete.")
# TODO add "count <name>" command.
count_parser = subparsers.add_parser(
"count",
aliases=["co"],
help="Count records in a collection from the local Chroma database.",
)
count_parser.add_argument("name", help="Name of the collection to count.")
return parser