create-a-cli
Create basic command line interfaces using Python
Installation
[python | python3] -m [pip | pip3] install create-a-cli
Usage
from cli import Interface
cli = Interface("Example CLI")
@cli.command()
def hello():
print("Hello World")
cli.run()
Command Line > python path/to/file.py
>>> hello
Hello World
Release files for create-a-cli 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| create-a-cli-0.0.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| create_a_cli-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / create-a-cli-0.0.1.tar.gz
| Download URL | create-a-cli-0.0.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ef42021c395ff5aefb7079889aab4cdcabcd36638a2c7d6a0884a16c9bb5463
|
|
BLAKE2b-256 checksum How to use checksums |
2f42b56f491d2a7aabde638d40a6032e70a01a755636676e808be8efbef11a74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|
Release files / create_a_cli-0.0.1-py3-none-any.whl
| Download URL | create_a_cli-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bee051d11786715264bc54cc8c1ce9ad3187c78b55ec0a2e8117a266b5945005
|
|
BLAKE2b-256 checksum How to use checksums |
2309ef28ae2624549762c916ed0d3367c3b064abc0f5d41b67971238da74aaa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|