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.28.post1.tar.gz (47.1 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.28.post1-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cli_command_parser-2022.5.28.post1.tar.gz
  • Upload date:
  • Size: 47.1 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.28.post1.tar.gz
Algorithm Hash digest
SHA256 551938dd8efbcbc6102fb4cfd5486875cbf61a9c13102c06101dd7be5fcda84e
MD5 28f24841f6ff9239f9c0195191e4a95c
BLAKE2b-256 618cde3029333708d27a5312782d2c03ffc954ecd1751ec5acaea962bbb90310

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cli_command_parser-2022.5.28.post1-py3-none-any.whl
  • Upload date:
  • Size: 54.6 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.28.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 64ab55ca54c9da0c6b8d31b3edf0f5fabef960be82ed20e2a300656966183d5b
MD5 9322f4e6a65f5aa9de84210c29ec1c81
BLAKE2b-256 7416407573adbf3bda5420ff1f482db117c0638e6be50982464f379682985558

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