Skip to main content

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.

Download files

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

Source Distribution

clibuilder-0.1.7.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file clibuilder-0.1.7.tar.gz.

File metadata

  • Download URL: clibuilder-0.1.7.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for clibuilder-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e4388e5acb2081b7f533ef09c44120cbf36cdf40fc4555daf80ab4dae78f7720
MD5 66df52b42cf19a69a1d78d5f4c0eab7d
BLAKE2b-256 d7b035b04066421ab6052c36446e9728d0d4f1f418c25e97d4f24453cdf26565

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.7 This release

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

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