hledger - weakish/cheat GitHub Wiki
hledger add
hledger stats
hledger print # show transcactions
hledger registr # also show posting (increasing/decreasing)
hledger balance [--depth N]
If you cannot remember the commands above, remember this one:
hledger web
hledger uses double entry bookkeeping, thus every record is a
transaction, which must be balanced.
hledger uses positive and negative sign to indicate money is
moving to or from an account.
Use ACCOUNT:SUBACCOUNT
for subaccount.
Journal file format
$ ls -l ~/.hledger.journal
-rw-rw-r-- 1 YOU YOU 74 Feb 12 08:10 /home/YOU/.hledger.journal
$ cat ~/.hledger.journal
2014/02/12 trip to the supermarket
expenses $10
assets
Query expressions
print
, register
and balance
can accept query expressions:
regexp
accountdesc:regexp
descriptiondate:YYYY/MM/DD-YYYY/MM/DD