Skip to main content

cli

anrosent

This module provides a class `cli.CLI` that simplifies writing Command Line Interfaces for applications. It uses the `argparse` module from the CPython standard library, which provides great help/error messaging, as well as argument validation. You can find a decorator-based alternative in `flask.ext.script.Manager`, but here I’ve tried to emulate the `argparse.ArgumentParser` interface, with the bonus of no external dependencies.

### Example

See `example.py` for a great intro.

Metadata

Release files for clibuilder 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clibuilder 0.1.7
File Size Uploaded Provenance Actions
clibuilder-0.1.7.tar.gz 2.7 kB Without provenance Details for clibuilder-0.1.7.tar.gz

Release files / clibuilder-0.1.7.tar.gz

Download URL clibuilder-0.1.7.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4388e5acb2081b7f533ef09c44120cbf36cdf40fc4555daf80ab4dae78f7720
BLAKE2b-256 checksum
How to use checksums
d7b035b04066421ab6052c36446e9728d0d4f1f418c25e97d4f24453cdf26565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for clibuilder 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page