Files
Chromy/handlers/create_collection.py
T

10 lines
259 B
Python
Raw Normal View History

2026-04-21 17:42:37 +02:00
from argparse import Namespace
from chroma_functions import create_collection
def handle_create_collection(args: Namespace) -> int:
collection_name = create_collection(args.collection)
print(f"Created collection '{collection_name}'.")
return 0