finally got a chance to use Ledger (https://ledger-cli.org) in anger and, damn, this is a great "File over App" format for doing double-entry accounting
I'm half-tempted to try my hand at building a desktop/mobile app that can work with this file format, plain text accounting rules