I've just discovered Typer, a library for building command-line interfaces (CLIs) in Python. It's built on top of Click and uses Python's type hints to provide a simple and intuitive way to create CLIs.
This is FastAPI sibling.
Instead of adding this to my bookmarks, I will just go ahead and create a repo for it. I will add more examples as I learn more about Typer.
.
├── README.md # This file
├── main.py # Welcome program
├── 001-hello_world/
│ └── hello_name.py # Hello, Name! program
$ uv add typer
Using CPython 3.13.5 interpreter at: /usr/bin/python3.13
Creating virtual environment at: .venv
Resolved 10 packages in 1.65s
Prepared 5 packages in 290ms
Installed 8 packages in 11ms
+ click==8.3.0
+ markdown-it-py==4.0.0
+ mdurl==0.1.2
+ pygments==2.19.2
+ rich==14.1.0
+ shellingham==1.5.4
+ typer==0.19.2
+ typing-extensions==4.15.0