summaryrefslogtreecommitdiffstats
path: root/doc/cli/orcus_xml.rst
blob: d41865e22eb3e9f33ad002d7ea9e93f8219233b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
orcus-xml
=========

Usage
-----

.. code-block::

   orcus-xml [OPTIONS] FILE

Options
-------

- ``-h [ --help ]``

  Print this help.

- ``--mode arg``

  Mode of operation. Select one of the following options: dump, map, map-gen, structure, or transform.

- ``-m [ --map ] arg``

  Path to the map file. A map file is required for all modes except for the structure mode.

- ``-o [ --output ] arg``

  Path to either an output directory, or an output file.

- ``-f [ --output-format ] arg``

  Specify the output format. Supported format types are:
  
    - check - Flat format that fully encodes document content. Suitable for automated testing.
    - csv - CSV format.
    - debug-state - This format dumps the internal state of the document in detail, useful for debugging.
    - flat - Flat text format that displays document content in grid.
    - html - HTML format.
    - json - JSON format.
    - none - No output to be generated. Maybe useful during development.
    - xml - This format is currently unsupported.
    - yaml - This format is currently unsupported.