Python CLI Template
Minimal Cookiecutter template for python CLI tools. Python 3.12+, uv, Typer, ruff, mypy, pytest.
Usage
cruft create git@git.roxautomation.com:sjev/python-cli-template.git
cd your-project
uv sync --frozen --group dev
uv run invoke lint
uv run invoke test
Generated structure
your-project/
├── pyproject.toml
├── tasks.py
├── src/your_package/
│ ├── __init__.py
│ ├── py.typed
│ └── cli.py
└── tests/
└── test_cli.py
License
MIT
Languages
Shell
66.2%
Python
33.8%