Small package for creating command line interfaces
Project description
Clite - a small package for creating command line interfaces
The name is inspired by the SQLite
:warning: This package is currently under development. :warning:
Installation
pip install clite
Usage
from clite import Clite
app = Clite(
name="myapp",
description="A small package for creating command line interfaces",
)
@app.command()
def hello():
print("Hello, world!")
if __name__ == "__main__":
app()
Roadmap
0.1.0 - Create a library for creating command line interfaces
- Make it possible to create a CLI application
- Make it possible to create a command via a decorator
- Make it possible to create command arguments
- Make it possible to create optional command arguments
0.2.0
- Make it possible to create subcommands
0.3.0 - Echo message in the console
- Make it possible to echo a message in the console
Copyright 2024 - today, Roman Sotnikov. All rights reserved.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clite-0.2.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
clite-0.2.1-py3-none-any.whl
(5.1 kB
view details)
File details
Details for the file clite-0.2.1.tar.gz.
File metadata
- Download URL: clite-0.2.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9f7e0ad905bdbef9adef30c05ace9050340069999b378bad11c4ecefb1c0de9
|
|
| MD5 |
6d9010358a49dd528f5f23d2cdaf76a7
|
|
| BLAKE2b-256 |
dddcefaf185903825bc8f1987de71d88511ad69c9883ff7c4d168db82c1bdf21
|
File details
Details for the file clite-0.2.1-py3-none-any.whl.
File metadata
- Download URL: clite-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad69ed55f691510a8d780622a148c355e37814e268e000350187d66f6c5298d7
|
|
| MD5 |
95f4cf314fb288ec36ef589567192d26
|
|
| BLAKE2b-256 |
fbd9939c2f49c04a8223d41b56bc795def619645e7faa8cf377643d2f80af734
|