Skip to main content

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!

  1. support autocompetation
  2. 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()

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cod, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size cod-0.0.4-py3-none-any.whl (7.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cod-0.0.4.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page