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

User & API documentation is available.

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.6.4.tar.gz (54.9 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.6.4-py3-none-any.whl (64.2 kB view details)

Uploaded Python 3

File details

Details for the file cli_command_parser-2022.6.4.tar.gz.

File metadata

  • Download URL: cli_command_parser-2022.6.4.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for cli_command_parser-2022.6.4.tar.gz
Algorithm Hash digest
SHA256 6069fb2f012e9f7b238c5b0239228ce6458c2812c02fc5c121559fd9b159f153
MD5 b3857176980b703623565ea9caef663f
BLAKE2b-256 6316fbe36325863a64aa6085e8289ab5e51ce1a11990869ab151222f00256807

See more details on using hashes here.

File details

Details for the file cli_command_parser-2022.6.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_command_parser-2022.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 efa8952b534db6e0bcde9e5a9bb48cacd24194657d39744e9d5b5b3de457db56
MD5 b5cd7b7614bf02ad9244bf8670a471ce
BLAKE2b-256 65402e51818e3676308072afd8cf05a3c587696afd70d373b98a9699d6fd6d53

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