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 hashes)

Uploaded Source

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