Skip to main content

CLI Command Parser

Project description

py_version coverage_badge build_status Black

Command Parser is a class-based CLI argument parser that defines parameters with descriptors.

The primary goals of this project:
  • Make it easy to define subcommands and actions in an clean and organized manner

  • Allow for inheritance so that common parameters don’t need to be repeated

  • Make it easy to handle common initialization tasks for all actions / subcommands once

  • Reduce the amount of boilerplate code that is necessary for setting up parsing and handling argument values

Installing CLI Command Parser

CLI Command Parser is available on PyPI:

$ pip install cli-command-parser

Documentation & Examples

Documentation is available, though it is still a work in progress.

Example scripts using CLI Command Parser can be found in the examples directory.

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

cli_command_parser-2022.5.22.post1.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

cli_command_parser-2022.5.22.post1-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file cli_command_parser-2022.5.22.post1.tar.gz.

File metadata

  • Download URL: cli_command_parser-2022.5.22.post1.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for cli_command_parser-2022.5.22.post1.tar.gz
Algorithm Hash digest
SHA256 c00b038191682858690049b2abd9da506e09e5ab205050eeb0695b5f7d9c4f7d
MD5 45386211ad9d14a80b0ef09001bf2ebe
BLAKE2b-256 5d7b3752567dd404e13d0cbe54dc3cbc753a491fdb81380bafb99331fa8cf52f

See more details on using hashes here.

File details

Details for the file cli_command_parser-2022.5.22.post1-py3-none-any.whl.

File metadata

  • Download URL: cli_command_parser-2022.5.22.post1-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for cli_command_parser-2022.5.22.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbf697dece1928b6f1e949240fa13990368b99ee25f4e4542c24eb7a2c7bdfda
MD5 21c7381dd60e99d2f154ded3b3fe5c05
BLAKE2b-256 0652ce0f53f9eb207318631b4d531d1bde7c12ce0a9dc7ac619ca1ff999dab76

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