[GNC] gnucash-cli options - accounts, dates and other settings
flywire
flywire0 at gmail.com
Tue Aug 31 05:52:22 EDT 2021
This report needs accounts and dates to be specified in Win10 and I'd like
to tweak some other settings. "A datafile may be specified to describe some
saved options." Where is the documentation for gnucash-cli ?
====================
E:\>"C:\Program Files (x86)\gnucash\bin\gnucash-cli" --report run --name
"2fe3b9833af044abb929a88d5a59620f" --output-file arg.html demo.gnucash
In Browser:
> Transaction Report:
> No accounts selected
> This report requires accounts to be selected in the report options.
>
> Edit report options
E:\>"C:\Program Files (x86)\gnucash\bin\gnucash-cli" --report show --name
"2fe3b9833af044abb929a88d5a59620f"
* name: Transaction Report
guid: 2fe3b9833af044abb929a88d5a59620f
E:\>"C:\Program Files (x86)\gnucash\bin\C"
Missing command or option
C:\Program Files (x86)\gnucash\bin\gnucash-cli [options] [datafile] -
GnuCash, accounting for personal and small business finance:
Common Options:
-h [ --help ] Show this help message
-v [ --version ] Show GnuCash version
--debug Enable debugging mode: provide deep detail in the
logs.
This is equivalent to: --log "=info" --log
"qof=info"
--log "gnc=info"
--extra Enable extra/development/debugging features.
--log arg Log level overrides, of the form
"modulename={debug,info,warn,crit,error}"
Examples: "--log qof=debug" or "--log
gnc.backend.file.sx=info"
This can be invoked multiple times.
--logto arg File to log into; defaults to
"/tmp/gnucash.trace";
can be "stderr" or "stdout".
--gsettings-prefix arg Set the prefix for gsettings schemas for gsettings
queries. This can be useful to have a different
settings tree while debugging.
Price Quotes Retrieval Options:
-Q [ --quotes ] arg Execute price quote related commands. Currently
only
one command is supported.
get: Fetch current quotes for all foreign
currencies and stocks in the given GnuCash
datafile.
--namespace arg Regular expression determining which namespace
commodities will be retrieved for
Report Generation Options:
-R [ --report ] arg Execute report related commands. The following
commands are supported.
list: Lists available reports.
show: Describe the options modified in the named
report. A datafile may be specified to
describe some saved options.
run: Run the named report in the given GnuCash
datafile.
--name arg Name of the report to run
--export-type arg Specify export type
--output-file arg Output file for report
More information about the gnucash-user
mailing list