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
2015-08-18 09:42:19 +12:00
2015-08-18 09:42:19 +12:00
2015-04-14 08:17:04 -06:00
2014-02-07 20:38:59 +00:00
2013-09-23 15:45:31 -04:00
2014-01-03 12:17:56 -05:00
2012-04-20 10:06:58 -07:00
2015-03-10 16:35:58 +11:00
2015-08-18 09:42:19 +12:00
2015-07-15 00:24:12 +00:00

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.

Description
Command Line Interface Formulation Framework
Readme 5.8 MiB
Languages
Python 99.6%
Shell 0.4%