default: test

# Run the test suite
test *args:
    uv run pytest {{ args }}

# Run tests with coverage report
cov:
    uv run pytest --cov=src/codeberg_cli --cov-report=term-missing

# Build the distribution (wheel + sdist)
build:
    uv build

# Remove build artifacts
clean:
    rm -rf dist

# Install all dependency groups
install:
    uv sync --all-groups
