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.3.6.post3.tar.gz (34.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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