This directory contains helper scripts for development tasks across different platforms.
Windows users have two options for running development commands:
Usage:
.\scripts\dev.ps1 <command>Examples:
.\scripts\dev.ps1 install
.\scripts\dev.ps1 test
.\scripts\dev.ps1 lint
.\scripts\dev.ps1 format
.\scripts\dev.ps1 type-check
.\scripts\dev.ps1 clean
.\scripts\dev.ps1 run-api
.\scripts\dev.ps1 run-cliUsage:
scripts\dev.bat <command>Examples:
scripts\dev.bat install
scripts\dev.bat test
scripts\dev.bat lint
scripts\dev.bat format
scripts\dev.bat type-check
scripts\dev.bat clean
scripts\dev.bat run-api
scripts\dev.bat run-cliUse the Makefile in the root directory:
make install
make test
make lint
make format
make type-check
make clean
make run-api
make run-cliAll scripts support the following commands:
- install - Install all project dependencies using uv
- test - Run all tests with pytest
- lint - Check code style with ruff
- format - Format code and fix auto-fixable issues with ruff
- type-check - Run static type checking with mypy
- clean - Remove cache files and bytecode
- run-api - Start the FastAPI development server
- run-cli - Display CLI help information
Alternatively, you can run uv commands directly on any platform:
uv sync # Install dependencies
uv run pytest # Run tests
uv run ruff check . # Lint code
uv run ruff format . # Format code
uv run mypy api/src cli/src # Type checkSee the main README.md for more details.