---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gnucash-cli

> A command-line version of GnuCash.
> More information: <https://gnucash.org/viewdoc.phtml?rev=5&lang=C&doc=help>.

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

`gnucash-cli {{[-Q|--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}}`
