GNUCASH(1) GnuCash Manual Pages GNUCASH(1)

gnucash-cli - command line tool to go with GnuCash

gnucash-cli [options] [ accounts.gnucash ]

gnucash-cli enables certain intraction with a gnucash datafile directly from the command line.

It has two modes: quotes mode and report mode.

This mode has options to get online quotes for foreign currencies and stocks in the given data file. It supports the following command:

Retrieves online quotes. Note this requires Finance::Quote to be properly configured for your system.

The get command takes the following options:

Regular expression determining which namespace commodities will be retrieved.

This mode has options to work with reports in the given data file. It supports the following command:

Runs a report on the given data file.

The run command takes the following options:

Name of the report to run
Specify export type

Show GnuCash version
Show this help message
Enable debugging mode: increasing logging to provide deep detail.
Enable extra/development/debugging features.
Log level overrides, of the form "log.ger.path={debug,info,warn,crit,error}" This option can be specified multiple times.
File to log into; defaults to "/tmp/gnucash.trace"; can be "stderr" or "stdout".

~/.gnucash/config.auto

Automatically generated per-user configuration file. DO NOT EDIT MANUALLY!

Enable debugging output. This allows you to turn on the debugging earlier in the startup process than you can with --debug.
An override for the GnuCash scheme load path. You shouldn't need to alter this. For more information see the README file.
An override for the GnuCash scheme load path for Gnucash modules. You shouldn't need to alter this. For more information see the README file.

Please report any bugs using the bug reporting form on the GnuCash web site.

GnuCash has extensive on-line help available from the "help" menu.

Additional information and the latest version is available at the web site: https://www.gnucash.org

Robert Merkel <rgmerk@mira.net> wrote this manpage.

GnuCash was written by Robin Clark, Linas Vepstas, and a cast of thousands.

2021-09-28 Version 4.8a+