A minimal Python command-line application template using Typer and Rich.
- Basic CLI structure with Typer
- Rich console output
- Python project configuration (pyproject.toml)
- Test setup with pytest
# Create virtual environment
python3 -m venv myenv
python3.12 -m venv myenv
source myenv/bin/activate # macOS/Linux
# .\myenv\Scripts\Activate.ps1 # Windows
# Install dependencies
pip install -e .
cli hello [name]
Run tests:
pytest
src/
python_cli_starter/
__init__.py # Package initialization
cli.py # CLI commands
main.py # App entry point
tests/ # Test cases
pyproject.toml # Project configuration
MIT