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 for cliff is hosted on at

To do

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

  • example show app

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

  • pretty but non-table formatter(s)

  • shell script formatter(s)? (properties as variable names)

  • 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?

Project details

Release history Release notifications | RSS feed

This version


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.3.tar.gz (104.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page