A command-line version of GnuCash. More information: https://gnucash.org.
gnucash-cli --quotes get path/to/file.gnucash
--name
gnucash-cli --report run --name "Balance Sheet" path/to/file.gnucash