Documentation: https://axemanofic.github.io/clite
Source Code: https://github.com/axemanofic/clite
Installation
pip install 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.
Metadata
Release files for clite 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clite-0.2.2.tar.gz | 52.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clite-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.7 kB
Release files / clite-0.2.2.tar.gz
| Download URL | clite-0.2.2.tar.gz |
|---|---|
| Size | 52.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6cc54fd399c34c9a526d1332dbaeca327df3c7c94f81e8019f717d591784d76
|
|
BLAKE2b-256 checksum How to use checksums |
f0d131b68c61ebce94eb79d8dbba591971b38811182a7764a5fa63a6038b39ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.23
|
Release files / clite-0.2.2-py3-none-any.whl
| Download URL | clite-0.2.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afdb06b6d7c13306b82688098d217d7d6e4a73f9e36103761ceb6b431169f312
|
|
BLAKE2b-256 checksum How to use checksums |
bc052f48296e39adc242f0d07b529c5f79b9a735f1c00406d0bd2ad4e24b645c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.23
|