Skip to content

Commit eb67fc6

Browse files
committed
Run cog -r against latest tabulate, refs #501
1 parent 34e75ed commit eb67fc6

File tree

2 files changed

+79
-40
lines changed

2 files changed

+79
-40
lines changed

docs/cli-reference.rst

Lines changed: 67 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,15 @@ See :ref:`cli_query`.
112112
--tsv Output TSV
113113
--no-headers Omit CSV headers
114114
-t, --table Output as a formatted table
115-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
116-
github, grid, html, jira, latex, latex_booktabs,
117-
latex_longtable, latex_raw, mediawiki, moinmoin,
118-
orgtbl, pipe, plain, presto, pretty, psql, rst,
119-
simple, textile, tsv, unsafehtml, youtrack
115+
--fmt TEXT Table format - one of asciidoc, double_grid,
116+
double_outline, fancy_grid, fancy_outline, github,
117+
grid, heavy_grid, heavy_outline, html, jira,
118+
latex, latex_booktabs, latex_longtable, latex_raw,
119+
mediawiki, mixed_grid, mixed_outline, moinmoin,
120+
orgtbl, outline, pipe, plain, presto, pretty,
121+
psql, rounded_grid, rounded_outline, rst, simple,
122+
simple_grid, simple_outline, textile, tsv,
123+
unsafehtml, youtrack
120124
--json-cols Detect JSON cols and output them as JSON, not
121125
escaped strings
122126
-r, --raw Raw output, first column of first row
@@ -176,11 +180,15 @@ See :ref:`cli_memory`.
176180
--tsv Output TSV
177181
--no-headers Omit CSV headers
178182
-t, --table Output as a formatted table
179-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
180-
github, grid, html, jira, latex, latex_booktabs,
181-
latex_longtable, latex_raw, mediawiki, moinmoin,
182-
orgtbl, pipe, plain, presto, pretty, psql, rst,
183-
simple, textile, tsv, unsafehtml, youtrack
183+
--fmt TEXT Table format - one of asciidoc, double_grid,
184+
double_outline, fancy_grid, fancy_outline, github,
185+
grid, heavy_grid, heavy_outline, html, jira,
186+
latex, latex_booktabs, latex_longtable, latex_raw,
187+
mediawiki, mixed_grid, mixed_outline, moinmoin,
188+
orgtbl, outline, pipe, plain, presto, pretty,
189+
psql, rounded_grid, rounded_outline, rst, simple,
190+
simple_grid, simple_outline, textile, tsv,
191+
unsafehtml, youtrack
184192
--json-cols Detect JSON cols and output them as JSON, not
185193
escaped strings
186194
-r, --raw Raw output, first column of first row
@@ -401,11 +409,14 @@ See :ref:`cli_search`.
401409
--tsv Output TSV
402410
--no-headers Omit CSV headers
403411
-t, --table Output as a formatted table
404-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
405-
github, grid, html, jira, latex, latex_booktabs,
406-
latex_longtable, latex_raw, mediawiki, moinmoin,
407-
orgtbl, pipe, plain, presto, pretty, psql, rst, simple,
408-
textile, tsv, unsafehtml, youtrack
412+
--fmt TEXT Table format - one of asciidoc, double_grid,
413+
double_outline, fancy_grid, fancy_outline, github,
414+
grid, heavy_grid, heavy_outline, html, jira, latex,
415+
latex_booktabs, latex_longtable, latex_raw, mediawiki,
416+
mixed_grid, mixed_outline, moinmoin, orgtbl, outline,
417+
pipe, plain, presto, pretty, psql, rounded_grid,
418+
rounded_outline, rst, simple, simple_grid,
419+
simple_outline, textile, tsv, unsafehtml, youtrack
409420
--json-cols Detect JSON cols and output them as JSON, not escaped
410421
strings
411422
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
@@ -651,11 +662,14 @@ See :ref:`cli_tables`.
651662
--tsv Output TSV
652663
--no-headers Omit CSV headers
653664
-t, --table Output as a formatted table
654-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
655-
github, grid, html, jira, latex, latex_booktabs,
656-
latex_longtable, latex_raw, mediawiki, moinmoin,
657-
orgtbl, pipe, plain, presto, pretty, psql, rst, simple,
658-
textile, tsv, unsafehtml, youtrack
665+
--fmt TEXT Table format - one of asciidoc, double_grid,
666+
double_outline, fancy_grid, fancy_outline, github,
667+
grid, heavy_grid, heavy_outline, html, jira, latex,
668+
latex_booktabs, latex_longtable, latex_raw, mediawiki,
669+
mixed_grid, mixed_outline, moinmoin, orgtbl, outline,
670+
pipe, plain, presto, pretty, psql, rounded_grid,
671+
rounded_outline, rst, simple, simple_grid,
672+
simple_outline, textile, tsv, unsafehtml, youtrack
659673
--json-cols Detect JSON cols and output them as JSON, not escaped
660674
strings
661675
--columns Include list of columns for each table
@@ -689,11 +703,14 @@ See :ref:`cli_views`.
689703
--tsv Output TSV
690704
--no-headers Omit CSV headers
691705
-t, --table Output as a formatted table
692-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
693-
github, grid, html, jira, latex, latex_booktabs,
694-
latex_longtable, latex_raw, mediawiki, moinmoin,
695-
orgtbl, pipe, plain, presto, pretty, psql, rst, simple,
696-
textile, tsv, unsafehtml, youtrack
706+
--fmt TEXT Table format - one of asciidoc, double_grid,
707+
double_outline, fancy_grid, fancy_outline, github,
708+
grid, heavy_grid, heavy_outline, html, jira, latex,
709+
latex_booktabs, latex_longtable, latex_raw, mediawiki,
710+
mixed_grid, mixed_outline, moinmoin, orgtbl, outline,
711+
pipe, plain, presto, pretty, psql, rounded_grid,
712+
rounded_outline, rst, simple, simple_grid,
713+
simple_outline, textile, tsv, unsafehtml, youtrack
697714
--json-cols Detect JSON cols and output them as JSON, not escaped
698715
strings
699716
--columns Include list of columns for each view
@@ -732,11 +749,15 @@ See :ref:`cli_rows`.
732749
--tsv Output TSV
733750
--no-headers Omit CSV headers
734751
-t, --table Output as a formatted table
735-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
736-
github, grid, html, jira, latex, latex_booktabs,
737-
latex_longtable, latex_raw, mediawiki, moinmoin,
738-
orgtbl, pipe, plain, presto, pretty, psql, rst,
739-
simple, textile, tsv, unsafehtml, youtrack
752+
--fmt TEXT Table format - one of asciidoc, double_grid,
753+
double_outline, fancy_grid, fancy_outline, github,
754+
grid, heavy_grid, heavy_outline, html, jira,
755+
latex, latex_booktabs, latex_longtable, latex_raw,
756+
mediawiki, mixed_grid, mixed_outline, moinmoin,
757+
orgtbl, outline, pipe, plain, presto, pretty,
758+
psql, rounded_grid, rounded_outline, rst, simple,
759+
simple_grid, simple_outline, textile, tsv,
760+
unsafehtml, youtrack
740761
--json-cols Detect JSON cols and output them as JSON, not
741762
escaped strings
742763
--load-extension TEXT Path to SQLite extension, with optional
@@ -768,11 +789,14 @@ See :ref:`cli_triggers`.
768789
--tsv Output TSV
769790
--no-headers Omit CSV headers
770791
-t, --table Output as a formatted table
771-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
772-
github, grid, html, jira, latex, latex_booktabs,
773-
latex_longtable, latex_raw, mediawiki, moinmoin,
774-
orgtbl, pipe, plain, presto, pretty, psql, rst, simple,
775-
textile, tsv, unsafehtml, youtrack
792+
--fmt TEXT Table format - one of asciidoc, double_grid,
793+
double_outline, fancy_grid, fancy_outline, github,
794+
grid, heavy_grid, heavy_outline, html, jira, latex,
795+
latex_booktabs, latex_longtable, latex_raw, mediawiki,
796+
mixed_grid, mixed_outline, moinmoin, orgtbl, outline,
797+
pipe, plain, presto, pretty, psql, rounded_grid,
798+
rounded_outline, rst, simple, simple_grid,
799+
simple_outline, textile, tsv, unsafehtml, youtrack
776800
--json-cols Detect JSON cols and output them as JSON, not escaped
777801
strings
778802
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
@@ -804,11 +828,14 @@ See :ref:`cli_indexes`.
804828
--tsv Output TSV
805829
--no-headers Omit CSV headers
806830
-t, --table Output as a formatted table
807-
--fmt TEXT Table format - one of fancy_grid, fancy_outline,
808-
github, grid, html, jira, latex, latex_booktabs,
809-
latex_longtable, latex_raw, mediawiki, moinmoin,
810-
orgtbl, pipe, plain, presto, pretty, psql, rst, simple,
811-
textile, tsv, unsafehtml, youtrack
831+
--fmt TEXT Table format - one of asciidoc, double_grid,
832+
double_outline, fancy_grid, fancy_outline, github,
833+
grid, heavy_grid, heavy_outline, html, jira, latex,
834+
latex_booktabs, latex_longtable, latex_raw, mediawiki,
835+
mixed_grid, mixed_outline, moinmoin, orgtbl, outline,
836+
pipe, plain, presto, pretty, psql, rounded_grid,
837+
rounded_outline, rst, simple, simple_grid,
838+
simple_outline, textile, tsv, unsafehtml, youtrack
812839
--json-cols Detect JSON cols and output them as JSON, not escaped
813840
strings
814841
--load-extension TEXT Path to SQLite extension, with optional :entrypoint

docs/cli.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,26 +187,38 @@ Available ``--fmt`` options are:
187187
cog.out("\n" + "\n".join('- ``{}``'.format(t) for t in tabulate.tabulate_formats) + "\n\n")
188188
.. ]]]
189189
190+
- ``asciidoc``
191+
- ``double_grid``
192+
- ``double_outline``
190193
- ``fancy_grid``
191194
- ``fancy_outline``
192195
- ``github``
193196
- ``grid``
197+
- ``heavy_grid``
198+
- ``heavy_outline``
194199
- ``html``
195200
- ``jira``
196201
- ``latex``
197202
- ``latex_booktabs``
198203
- ``latex_longtable``
199204
- ``latex_raw``
200205
- ``mediawiki``
206+
- ``mixed_grid``
207+
- ``mixed_outline``
201208
- ``moinmoin``
202209
- ``orgtbl``
210+
- ``outline``
203211
- ``pipe``
204212
- ``plain``
205213
- ``presto``
206214
- ``pretty``
207215
- ``psql``
216+
- ``rounded_grid``
217+
- ``rounded_outline``
208218
- ``rst``
209219
- ``simple``
220+
- ``simple_grid``
221+
- ``simple_outline``
210222
- ``textile``
211223
- ``tsv``
212224
- ``unsafehtml``

0 commit comments

Comments
 (0)