
dev-api *args='':
    OTEL_RESOURCE_ATTRIBUTES=service.name=nl-vox-api \
    uv run python -m nl_vox.cli run-api --host localhost --port 5100 --reload {{ args }}

dev-worker *args='':
    OTEL_RESOURCE_ATTRIBUTES=service.name=nl-vox-worker \
    uv run python -m nl_vox.cli run-worker  local-worker --reload {{ args }}

lint *args='':
    uv run ruff check . {{ args }}

typecheck *args='':
    uv run basedpyright . {{ args }}

test regex="." *args='':
    uv run pytest ./tests -k {{ regex }} -n auto {{ args }}

otel-tui *args='':
    otel-tui {{ args }}
