Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 960 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 960 Bytes

Example for use of hledger.

See Blog post

Install

  • brew from here
  • Or stack from here
  • Or with Docker docker pull dastapov/hledger

Ledger-UI

hledger-ui -f hledger.journal --watch -b='last week' -2 and then: right, F (shift + f) to see future events

Or with Docker

docker container run --rm -it --volume="$PWD:/data" dastapov/hledger hledger-ui -f /data/hledger.journal --watch -b='last week' -2

More examples

Get all Israeli credit card expenses by month

hledger -f hledger.journal reg -H expenses:israel:cc -3 -M

Reorder dates

We can use hledger -f hledger.journal check-dates to confirm all transactions are ordered by date.

If they are not, we can use ./reorder-journal.sh hledger.journal to have it re-ordered.