[GNC] Command Line Report Options
Robin Chattopadhyay
robinraymn at gmail.com
Fri Jul 17 22:50:06 EDT 2020
In the release notes and the help page, the documentation lists
'export-type' as an option and the example cites html as an export type
option. Are there any other supported options? I tried 'pdf' and 'PDF' and
neither of those worked.
>From the release notes:
• A new separate executable, gnucash-cli (gnucash-cli.exe on
Microsoft Windows) for doing command-line things like updating the prices
in your book. gnucash-cli gains the ability to run reports from the command
line. Specify reports to run by name or guid. It also provides an export
format and an output file name without which it will output the report to
stdout.
• gnucash-cli --report run --name=[reportname/guid]
datafile.gnucash
• gnucash-cli --report run --name=[reportname/guid]
--output-file=x.html datafile.gnucash
• gnucash-cli --report run --name=[reportname/guid]
--output-file=x.html --export-type=TYPE datafile.gnucash
Thanks,
Robin
More information about the gnucash-user
mailing list