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

This project is still a work in progress.

Installing CLI Command Parser

CLI Command Parser is available on PyPI:

$ pip install cli-command-parser

Documentation & Examples

API documentation is currently available. More detailed usage guides are coming soon.

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.2.26.post11.tar.gz (33.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.2.26.post11-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file cli_command_parser-2022.2.26.post11.tar.gz.

File metadata

  • Download URL: cli_command_parser-2022.2.26.post11.tar.gz
  • Upload date:
  • Size: 33.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.2.26.post11.tar.gz
Algorithm Hash digest
SHA256 d0964169737e195712c7498fc087ed4467f74ac3d4832510647afc7b8ad61f8d
MD5 cdd6e9ad6b8f56279c1a8c016890b03f
BLAKE2b-256 40a2f736050b879774bbcae135e6c3ea4bec0ed51af34ebdd86f4d2be37fc51d

See more details on using hashes here.

File details

Details for the file cli_command_parser-2022.2.26.post11-py3-none-any.whl.

File metadata

  • Download URL: cli_command_parser-2022.2.26.post11-py3-none-any.whl
  • Upload date:
  • Size: 38.3 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.2.26.post11-py3-none-any.whl
Algorithm Hash digest
SHA256 288ecbbfde38db254216e5913ff2dd6f1ae3c0163592f007eb8918e3e409d64b
MD5 ae0711f8027503d15a6666b5e897f0b4
BLAKE2b-256 7a4936f8068fd58d22e2e54c48ab25e6a86d158b818aa4fd6345979ce72b5b17

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