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.0.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.0-py3-none-any.whl
(5.0 kB
view details)
File details
Details for the file clite-0.2.0.tar.gz.
File metadata
- Download URL: clite-0.2.0.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 |
53608a5dc199fa7e4932ba1e9bc45914c70c5e584e17e2672b818429c89aaf47
|
|
| MD5 |
c8e5ab6038978c461baf7a3fda932f24
|
|
| BLAKE2b-256 |
296c17c45473a57a8a8f3ae08491f737786cff679f622dbe2a47e6db35389e52
|
File details
Details for the file clite-0.2.0-py3-none-any.whl.
File metadata
- Download URL: clite-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22af3ff9823dfaf82a9218ee839aab10031cf91b9cef5e333bf62698a528c1f0
|
|
| MD5 |
9ec5debae99e24b66d1e0a0609e5e974
|
|
| BLAKE2b-256 |
f4f76544a384c050eb517e922234397b03a38078666d3de3228d064d487e5361
|