2026-04-21 17:42:37 +02:00
|
|
|
from argparse import Namespace
|
|
|
|
|
|
2026-04-22 15:47:46 +02:00
|
|
|
from chromy.chroma_functions import count_collection
|
2026-04-21 17:42:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def handle_count_collection(args: Namespace) -> int:
|
|
|
|
|
print(count_collection(args.collection))
|
|
|
|
|
return 0
|