tldr/pages/common/gnucash-cli.md

378 B

gnucash-cli

A command-line version of GnuCash. More information: https://gnucash.org.

  • Get quotes for currencies and stocks specified in a file and print them:

gnucash-cli --quotes get {{path/to/file.gnucash}}

  • Generate a financial report of a specific type, specified by --name:

gnucash-cli --report run --name "{{Balance Sheet}}" {{path/to/file.gnucash}}