RETIRED, further work has moved to Debian project infrastructure
Go to file
Steve Baker 4e1470d93e Implement a json formatter in cliff
This change replaces the cliff-tablib json formatter with an internal
replacement. It differs from the tablib formatter in the following ways:
- by default outputs with an indent of 2 spaces. The --noindent formatting
  argument outputs with no indentation, to save space or to pipe to tools
  which can't handle multi-line input.
- emit_one serialises a simple dict where the column name is the key
and the data item is the value (rather than a list of dicts with
'Field' and 'Value' keys)

The cliff release which contains this change will need a corresponding
cliff-tablib release which removes the json formatter from its setup.py
entry_points.

Change-Id: I7f9b1f339d96ead347a0c9d95ec7004a78d8c9d5
Related-Bug: #1308744
2015-08-18 09:42:19 +12:00
cliff Implement a json formatter in cliff 2015-08-18 09:42:19 +12:00
demoapp Set demo app up with deferred help 2015-07-24 15:44:06 +00:00
doc Implement a json formatter in cliff 2015-08-18 09:42:19 +12:00
integration-tests Fix stable integration tests 2014-08-26 10:52:38 -04:00
.gitignore Sort the fuzzy matches 2015-04-14 08:17:04 -06:00
.gitreview Update .gitreview after repo rename 2014-02-07 20:38:59 +00:00
.travis.yml add pypy test env configuration 2013-09-23 15:45:31 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
LICENSE change to apache license 2012-04-20 10:06:58 -07:00
MANIFEST.in remove the other traces of distribute 2013-06-11 14:01:31 -04:00
Makefile bump the version number to release a clean build 2012-08-04 17:24:08 -04:00
README.rst Update links to setuptools doc. 2015-03-10 16:35:58 +11:00
announce.rst move to pbr for packaging 2014-01-03 12:17:56 -05:00
openstack-common.conf Import run_cross_tests.sh from oslo-incubator 2014-04-03 09:01:40 -07:00
requirements.txt Implement a yaml formatter in cliff 2015-08-18 09:42:19 +12:00
setup.cfg Implement a json formatter in cliff 2015-08-18 09:42:19 +12:00
setup.py Updated from global requirements 2015-07-15 00:24:12 +00:00
test-requirements.txt Updated from global requirements 2015-07-22 04:54:45 +00:00
tox.ini Remove py26 as a default test from tox.ini 2015-07-24 19:06:36 +00:00

README.rst

cliff -- 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.