summaryrefslogtreecommitdiff
path: root/docs/source/list_commands.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/list_commands.rst')
-rw-r--r--docs/source/list_commands.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/source/list_commands.rst b/docs/source/list_commands.rst
index 84dfe6e..2dbf748 100644
--- a/docs/source/list_commands.rst
+++ b/docs/source/list_commands.rst
@@ -34,6 +34,15 @@ The ``csv`` formatter produces a comma-separated-values document as
output. CSV data can be imported into a database or spreadsheet for
further manipulation.
+::
+
+ (.venv)$ cliffdemo files -f csv
+ "Name","Size"
+ "build",136
+ "cliffdemo.log",2690
+ "Makefile",5569
+ "source",408
+
PrettyTable
-----------
@@ -42,6 +51,18 @@ formatted for human consumption.
.. _PrettyTable: http://code.google.com/p/prettytable/
+::
+
+ (.venv)$ cliffdemo files
+ +---------------+------+
+ | Name | Size |
+ +---------------+------+
+ | build | 136 |
+ | cliffdemo.log | 2546 |
+ | Makefile | 5569 |
+ | source | 408 |
+ +---------------+------+
+
Creating Your Own Formatter
---------------------------