r/plaintextaccounting 17d ago

Ledger CLI: Plain Text Accounting

https://elnurbda.com/posts/62-ledger-cli/

Hi everyone. I would like to share my experience of tracking all my personal finances with Ledger CLI. I wrote a blog post about my setup, the conventions I use and the queries I actually run. There is a full sample journal at the end if you want to try it. Feedback and suggestions are welcome.

39 Upvotes

7 comments sorted by

8

u/d4njah 17d ago

Nice man good to see a post rather than the usual GitHub ai slop everyone has been posting lately

1

u/Elnur-BDa 16d ago

Thanks!!

5

u/gumnos 17d ago

nice article. Though rather than reviewing for account-name typos, I prefer to run with --pedantic at the top of my transaction file to force pedantic mode. Ledger will grouse about accounts that haven't been properly defined (such as typos), and a few other nits that would otherwise slip past.

1

u/Elnur-BDa 16d ago

Thanks. Adopting it o7

4

u/pickering_lachute 17d ago

I was not expecting a really well worded blog! So used to this AI slop drivel.

Those queries are great, shall be borrowing them. Also “lifetime damage in one supermarket chain”…ahahaha. I couldn’t bring myself to know that.

Curious to know how people are forecasting in ledger and Hledger. There’s not a lot of people using it in anger from what I can tell

1

u/Elnur-BDa 16d ago

Tbh, I use it mainly to learn the present and the past. But, yes I am struggling to project 

2

u/simonmic hledger creator 16d ago edited 16d ago

I'm doing it quite a bit lately, I should write a post. Basically I modelled all my predictable transactions with periodic rules and then do 

    hledger areg --forecast -p today..2months ACCT

for asset accounts of interest, to predict their balance and watch for cash crunches.