Skip to main content

Command-line generator from a dictionary.

Project description

This module is a wrapper to argparse module. Its goal is to generate a custom and advanced command-line from a formatted dictionary. The sequence of subparsers is not limited but it is not possible to have a (sub)parser that have both subparsers and options. The idea is really to not write dozens or hundreds of lines of code to generate the command-line but to outsource it to a file in a “classic” format (YAML, JSON, …).

Code is available on [Github](http://github.com/fmenabe/python-clg). Documentation is available on [readthedocs](https://clg.readthedocs.org/en/latest/).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clg-0.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file clg-0.2.tar.gz.

File metadata

  • Download URL: clg-0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for clg-0.2.tar.gz
Algorithm Hash digest
SHA256 1943e8e17acd0c4a58130213b4b9a13f665c9378f4604bd01d5b3cee79c9b8cf
MD5 b4ec7c364a33fb6b2a1c3d0e323218f0
BLAKE2b-256 cf36954cb9ba2d2e781a260121947c4a7fc4b5a6c5385b94d3d1693e97279d18

See more details on using hashes here.

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