tool to create a commandline application easily
Project description
PyCommandApp
tool to create a commandline application easily
usage
python3 -m pip install commandapp
(not implemented yes)
from commandapp import CommandApp
app = CommandApp()
@app.register
def hello(name: str):
print("Hello {}".format(name))
@app.register(name="print")
def cmd_print(text: str):
print(text)
app.run()
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
commandapp-0.1.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for commandapp-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c23cdfab69a9aa66c231ee6409fe7bece7ab93acfc930bbda23608f5d7ab0d |
|
MD5 | c5b03ae33e2470af35a15baaeb5bbebc |
|
BLAKE2b-256 | a29e654a8d26f90799649edf44fd55744dc87075d8f95384a99e90bcfb945387 |