A userful package to use 'the click package to add command' for a interactive terminal
Project description
cod
easy to use the click package to add command for a interactive terminal!
- support autocompetation
- support arrow up or down for history command
Installing
Install and update using pip
:
pip install -U cod
A Simple Example
import click
from cod import main, echo
@click.option('--name', prompt='Your name',
help='The person to greet.')
@click.command()
def hello(name):
echo(name)
main()
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
cod-0.0.4.tar.gz
(2.4 kB
view details)
Built Distribution
cod-0.0.4-py3-none-any.whl
(7.5 kB
view details)
File details
Details for the file cod-0.0.4.tar.gz
.
File metadata
- Download URL: cod-0.0.4.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b0bf48ad8c30d1015e33165be5132f64e2929cfb78f3e7fbfb6ab2ed4b733e4 |
|
MD5 | 7c69f0f88365e6572de7d8180a71b401 |
|
BLAKE2b-256 | 4e1d8272e2cacc2640869fb2c40a3f37185c2c300b5e2c2ea46ee9767e2fc203 |
File details
Details for the file cod-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: cod-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc9c20e6c5d9066364b6e504663712da50a4483a39dedc76792a5307eecea00 |
|
MD5 | cd06430f7aaee77fd622953e7afe6358 |
|
BLAKE2b-256 | dbc969c488b9801a023b7a69bbe95e7e37cf7cc6367a059f9ddbd4d8e1b0387e |