default:
    @just --list

# Build debug binary
build:
    cargo build

# Build release binary
release:
    cargo build --release

# Run all checks
check:
    cargo check --all-features

# Run tests
test:
    cargo test

# Run clippy
lint:
    cargo clippy --all-features -- -D warnings

# Format code
fmt:
    cargo fmt --all

# Format check
fmt-check:
    cargo fmt --all -- --check

# Run all CI checks locally
ci: fmt-check lint test build

# Install locally
install:
    cargo install --path .

# Run the CLI in dev mode
run *args:
    cargo run -- {{args}}
