summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/command.rst
diff options
context:
space:
mode:
authorRui Chen <chenrui.momo@gmail.com>2017-03-10 17:32:44 +0800
committerRui Chen <chenrui.momo@gmail.com>2017-09-18 15:14:22 +0800
commitff9bd34b3c63c22c96d7a0711939828a38f003d8 (patch)
treea2e26ad3861c5450518cf65d9c8b614da79d16e9 /doc/source/cli/command-objects/command.rst
parent5309bf5f873aba4e994c9011a893987c40d56eda (diff)
downloadpython-openstackclient-ff9bd34b3c63c22c96d7a0711939828a38f003d8.tar.gz
[Compute]Make column content readable for both human and machine
Currently, we use utils.format_dict(), utils.format_list(), utils.format_list_of_dicts to make column value can be easy to read by human, but osc support to format the CLI output into several format, like: json, shell, csv, yaml, most of these should be understand by program and code, so keeping the column content as the original value make sense, like {u'name': u'RuiChen'} than name='RuiChen' The patch include all compute commands. Change-Id: I313a52f94895625e6045df870320840fee157759 Implements: blueprint osc-formattable-columns Partial-Bug: #1538015 Partial-Bug: #1538006
Diffstat (limited to 'doc/source/cli/command-objects/command.rst')
0 files changed, 0 insertions, 0 deletions