Clite

A zero-dependency package for building CLIs. Based on type hints.
The name is inspired by the SQLite
Documentation: https://axemanofic.github.io/clite
Source Code: https://github.com/axemanofic/clite
Warning
This package is currently under development.
Installation
pip install clite
uv add clite
poetry add clite
Usage
Example
from clite import Clite
app = Clite(
name="myapp",
description="A small package for creating command line interfaces",
)
@app.command()
def hello(name: str = "world"):
print(f"Hello, {name}!")
if __name__ == "__main__":
app()
Run it
python main.py hello Alice
Output:
Hello, Alice!
License
This project is licensed under the terms of the MIT license.