Files
python-cli-template/README.md
2026-02-17 22:11:35 +01:00

32 lines
549 B
Markdown

# Python CLI Template
Minimal Cookiecutter template for python CLI tools. Python 3.12+, uv, Typer, ruff, mypy, pytest.
## Usage
```bash
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