hledger

A plain text accounting software for the command-line. More information: https://hledger.org.

hledger add

hledger --file path/to/file.journal accounts --tree

hledger incomestatement --monthly --depth 2

hledger print assets:cash | hledger -f- -I balance expenses:food --depth 2