A userful package to use 'the click package to add command' for a interactive terminal
easy to use the click package to add command for a interactive terminal!
- support autocompetation
- support arrow up or down for history command
Install and update using
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()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.