cliff/cliff/formatters
Doug Hellmann 180d7ce3ce add --fit-width option to table formatter
Change the table formatter to not fit the terminal width by default. Add
a new --fit-width option to turn on that behavior. Width fitting is
implied if the --max-width argument is used. The old behavior can be
restored by setting CLIFF_FIT_WIDTH=1 in the shell environment.

Change-Id: I7b41b38ed25def416605d38c962aea55de842529
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-05 16:25:36 +00:00
..
__init__.py start creating a subclass of command for producing a list of output in different formats, using prettytable as an example formatter 2012-04-22 16:15:37 -07:00
base.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
commaseparated.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
json_format.py Add newline if the output formatter is json 2016-11-15 05:58:36 +08:00
shell.py Replace dashes and colons when using bash formatter 2016-11-09 19:45:13 +00:00
table.py add --fit-width option to table formatter 2017-07-05 16:25:36 +00:00
value.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
yaml_format.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00