Findata Transcoder is a CLI tool that parses and transcodes CSV and other text-based financial statements into a ledger-like format.
I use it in my automation system that downloads financial statements and puts
their data into one big ledger of my personal finances. There are other tools
I’ve written that handle fetching those statements, preprocessing them (e.g.,
pdftotext
on PDF files), and orchestrating.
Some dependencies install PCRE. On macOS, you can use brew install pcre
.
Install the binary with
cabal install
To provide fish shell completion run
findata-transcoder --fish-completion-script (which findata-transcoder) \
> ~/.config/fish/completions/findata-transcoder.fish
For other shells, check out optparse-applicative’s documentation and adapt accordingly. Findata Transcoder uses optparse-applicative as the CLI framework.