add colors!
build / build (push) Successful in 12s
pytest / pytest (push) Successful in 29s

This commit is contained in:
Matteo Rosati
2026-04-23 21:49:46 +02:00
parent 3fcc3904b4
commit a14edebafe
10 changed files with 24 additions and 12 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ from __future__ import annotations
from typing import Annotated, Callable
import typer
from rich import print
from chromadb.errors import InternalError, NotFoundError
from chromy.handlers.import_data import handle_import
@@ -27,7 +28,7 @@ def _run(handler: ExitCodeHandler) -> None:
def _fail(message: str) -> None:
typer.echo(message)
print("[bold red]Error[/]:", message)
raise typer.Exit(1)