# Build CLIs for humans and agents.

A lean, opinionated and upgradeable Python CLI template.

```sh
uvx copier copy gh:RuchirChawdhry/copier-python-cli my-cli
```

## Highlights

- **Minimal core**: Start with essentials.
- **Agent-ready**: Predictable interfaces.
- **Upgradeable**: Evolve through Copier.
- **Tested**: Verified generation.

## Documentation

- [Getting started](https://ruchirchawdhry.github.io/copier-python-cli/getting-started/index.md): generate and run a project.
- [Architecture](https://ruchirchawdhry.github.io/copier-python-cli/architecture/index.md): understand the reusable building blocks.
- [Configuration](https://ruchirchawdhry.github.io/copier-python-cli/configuration/index.md): settings, logging and command defaults.
- [CLI contract](https://ruchirchawdhry.github.io/copier-python-cli/cli-contract/index.md): machine output, errors and persistence commands.
- [Development](https://ruchirchawdhry.github.io/copier-python-cli/development/index.md): tasks, hooks and the agent workflow.
- [Testing and CI](https://ruchirchawdhry.github.io/copier-python-cli/testing-and-ci/index.md): validate the template and generated applications.
- [Troubleshooting](https://ruchirchawdhry.github.io/copier-python-cli/troubleshooting/index.md): diagnose common issues.
- [Wiki publishing](https://ruchirchawdhry.github.io/copier-python-cli/wiki-publishing/index.md): maintain these pages.

## Built with

The template provides Python 3.14.7 and uv, Cyclopts, Rich, ruamel.yaml, platformdirs, Loguru, orjson, SQLite, pytest, Ruff, pre-commit and Go Task.

---

Python · [MIT License](https://github.com/RuchirChawdhry/copier-python-cli/blob/main/LICENSE) · [Documentation](https://ruchirchawdhry.github.io/copier-python-cli/getting-started/index.md) · [GitHub](https://github.com/RuchirChawdhry/copier-python-cli) · [Central workflows](https://github.com/RuchirChawdhry/ci-workflows)

These pages describe the template, not a deployed application. Examples use an executable named `my-tool`.
