Command Line Interface Formulation Framework
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 readthedocs.org at http://readthedocs.org/docs/cliff/en/latest/
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?)
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?
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.