gnucash-cli

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

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

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