Merge "Add some docs for list value formatter"

This commit is contained in:
Jenkins 2015-06-08 15:18:43 +00:00 committed by Gerrit Code Review
commit bff7d6bfd6
1 changed files with 27 additions and 0 deletions

View File

@ -63,6 +63,33 @@ for human consumption.
| source | 408 |
+---------------+------+
value
-----
The ``value`` formatter produces a space separated output with no headers.
::
(.venv)$ cliffdemo files -f value
build 136
cliffdemo.log 2690
Makefile 5569
source 408
This format can be very convenient when you want to pipe the output to
a script.
::
(.venv)$ cliffdemo files -f value | while read NAME SIZE
do
echo $NAME is $SIZE bytes
done
build is 136 bytes
cliffdemo.log is 2690 bytes
Makefile is 5569 bytes
source is 408 bytes
Other Formatters
----------------