blob: 6a3a549959cffc5755a2b1216c9fde9c5b94f26c (
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 HTML 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.
|