summaryrefslogtreecommitdiff
path: root/README.txt
blob: c83b3ba6d64f3d7ae386a31920a4e28f8774bf3e (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
usage: deal-converter.py [-h] [--jfr] [--columns COLUMNS]
                         [--orientation {Landscape,Portrait}]
                         INPUT_FILE [OUTPUT_FILE [OUTPUT_FILE ...]]

Universal converter for bridge deal formats

positional arguments:
  INPUT_FILE            Input file path
  OUTPUT_FILE           Output file path(s)

optional arguments:
  -h, --help            show this help message and exit
  --jfr                 For PBN file, write only JFR DD fields
  --columns COLUMNS     For HTML and PDF files, print-out column count
  --orientation {Landscape,Portrait}
                        For PDF files, page orientation

Supported formats: BER BHG BRI CDS CSV DGE DLM DUP LIN PBN RZD.
Formats are auto-detected based on file extension.
To display deals on STDOUT, provide "-" as an output file name.
To print deals to HTML file, use *.html output file.
To print deals to PDF file, use *.pdf output file.

PDF output requires wkhtmltopdf in a patched-qt version.