Skip to content

Commit a60c678

Browse files
committed
update view command example
1 parent d9274a8 commit a60c678

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.moban.d/cli-index.rst.jj2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ Tutorial
2525

2626
.. toctree::
2727

28-
do_diff
28+
do_diff
29+
do_transcode
30+
do_view

docs/source/do_view.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
View your excel files without any additional software
2+
================================================================================
3+
4+
Suppose you have an `census file <https://github.com/pyexcel/pyexcel-handsontable/raw/master/demo/census.xls>`_ and you would like to view it graphically but you do
5+
not have Microsoft Excel, Apple Numbers nor Open Office with you. Luckily, you
6+
have Python and pyexcel. Here is what you can do::
7+
8+
$ pyexcel view --in-browser https://github.com/pyexcel/pyexcel-handsontable/raw/master/demo/census.xls
9+
10+
.. image:: ../../pyexcel-cli.gif
11+
12+
Suppose you have an `google stock price <https://github.com/pyexcel/excel2table/raw/master/sample/goog.ods>`_ and you wanted to view but also sort them. Here is what you can do::
13+
14+
$ pyexcel view --in-browser --output-file-type sortable.html --sheet-index 0 https://github.com/pyexcel/excel2table/raw/master/sample/goog.ods
15+
16+
17+
.. image:: ../../pyexcel-cli-sortable.gif

docs/source/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,6 @@ Tutorial
189189

190190
.. toctree::
191191

192-
do_diff
192+
do_diff
193+
do_transcode
194+
do_view

0 commit comments

Comments
 (0)