Skip to main content

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


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)

Uploaded Source

Built Distribution

create_a_cli-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page