Create command line interfaces using Python
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
create-a-cli-0.0.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for create_a_cli-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee051d11786715264bc54cc8c1ce9ad3187c78b55ec0a2e8117a266b5945005 |
|
MD5 | 91ce032045ae8607bea794a771c6da48 |
|
BLAKE2b-256 | 2309ef28ae2624549762c916ed0d3367c3b064abc0f5d41b67971238da74aaa0 |