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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file create-a-cli-0.0.1.tar.gz.

File metadata

  • Download URL: create-a-cli-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for create-a-cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2ef42021c395ff5aefb7079889aab4cdcabcd36638a2c7d6a0884a16c9bb5463
MD5 05450bd66f159f5c88f54855aaa62073
BLAKE2b-256 2f42b56f491d2a7aabde638d40a6032e70a01a755636676e808be8efbef11a74

See more details on using hashes here.

File details

Details for the file create_a_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: create_a_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for create_a_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bee051d11786715264bc54cc8c1ce9ad3187c78b55ec0a2e8117a266b5945005
MD5 91ce032045ae8607bea794a771c6da48
BLAKE2b-256 2309ef28ae2624549762c916ed0d3367c3b064abc0f5d41b67971238da74aaa0

See more details on using hashes here.

Supported by

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