Files
cheatsheet-tldr/tldr/gnucash-cli
2025-05-02 00:19:39 +00:00

18 lines
516 B
Plaintext

---
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}}`