CLI Command Parser
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.
Metadata
Release files for cli-command-parser 2022.2.26.post11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cli_command_parser-2022.2.26.post11.tar.gz | 33.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cli_command_parser-2022.2.26.post11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.5 kB
Release files / cli_command_parser-2022.2.26.post11.tar.gz
| Download URL | cli_command_parser-2022.2.26.post11.tar.gz |
|---|---|
| Size | 33.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0964169737e195712c7498fc087ed4467f74ac3d4832510647afc7b8ad61f8d
|
|
BLAKE2b-256 checksum How to use checksums |
40a2f736050b879774bbcae135e6c3ea4bec0ed51af34ebdd86f4d2be37fc51d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / cli_command_parser-2022.2.26.post11-py3-none-any.whl
| Download URL | cli_command_parser-2022.2.26.post11-py3-none-any.whl |
|---|---|
| Size | 38.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
288ecbbfde38db254216e5913ff2dd6f1ae3c0163592f007eb8918e3e409d64b
|
|
BLAKE2b-256 checksum How to use checksums |
7a4936f8068fd58d22e2e54c48ab25e6a86d158b818aa4fd6345979ce72b5b17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|