Back to docs
Starter

Tiny CLI starter (Python click)

A single-file CLI scaffold built with Python and Click. Ship a polished command-line tool in under 100 lines — no framework sprawl, no config files, just a clean entrypoint.

What you get

  • Single cli.py entrypoint with Click decorators
  • Subcommands, argument parsing, and colored output out of the box
  • Zero-config pyproject.toml for pipx / pip install
  • Ready for PyPI publish with a single build command

Quick start

git clone https://github.com/meridian/starter-cli
cd starter-cli
pip install -e .
mycli hello

Structure

starter-cli/
├── cli.py
├── pyproject.toml
└── README.md