refactor rename add-data -> import
build / build (push) Successful in 9s

This commit is contained in:
2026-04-23 19:34:59 +02:00
parent b994546fc7
commit 38fa57e348
4 changed files with 13 additions and 14 deletions
@@ -3,7 +3,7 @@ from __future__ import annotations
from chromy.utilities import ingest_file
def handle_add_data(collection: str, file: str) -> int:
def handle_import(collection: str, file: str) -> int:
records_added = ingest_file(collection, file)
print(f"Added {records_added} records to collection '{collection}'.")
return 0