Skip to main content

Command Line Interface Formulation Framework

Project description

cliff is a framework for building command line programs. It uses setuptools entry points to provide subcommands, output formatters, and other extensions.

Documentation

Documentation for cliff is hosted on readthedocs.org at http://readthedocs.org/docs/cliff/en/latest/

To do

  • Should commands have an explicit API for checking whether the user can invoke them?

  • change API for list app to expect a sequence of dictionaries?

  • unicode output for python 2 (incompatible with csv?)

  • json formatter(s)

  • pprint formatter(s)

  • shell script formatter for show commands

  • create a few example commands that use a sqlite database to show how to manage transactions

  • switch setup/teardown functions in app to use some sort of context manager?

  • add options to csv formatter to control output (delimiter, etc.)

  • option to spit out bash completion data

  • move command execution into a separate class to be used by App and InteractiveApp?

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

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

Source Distribution

cliff-0.4.tar.gz (109.6 kB view details)

Uploaded Source

File details

Details for the file cliff-0.4.tar.gz.

File metadata

  • Download URL: cliff-0.4.tar.gz
  • Upload date:
  • Size: 109.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cliff-0.4.tar.gz
Algorithm Hash digest
SHA256 a439c6826a0ea0585ba1e40b02d456177e7068d0f49ce15ca8c3879885592e31
MD5 22aabd9ba8001c3e11803b351ebf2bfc
BLAKE2b-256 0c0fab6a185c23f7a33ccdd0d5de48d56670e10882a038ea664ae32ae669d919

See more details on using hashes here.

Provenance

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