hledger
hledger copied to clipboard
more abstract/portable way to define reports ?
From mail list. This might be worth a prototype. What could a more abstract and portable report specification look like ? Eg:
; report NAME REPORTTYPE PERIOD INTERVAL [ACCOUNTPAT] [MODIFIERS]
report trial-balance balance - - all
report balance-sheet-today balance -today - type:balancesheet
report income-statement-monthly balance -thismonth monthly type:incomestatement depth:3 flat
report food-purchases-this-year register thisyear-today - expenses:food
report assets-ui ui - - bank cash
report balance-sheet-web web - - type:balancesheet
Invoking reports:
$ hledger trial-balance
$ hledger assets-ui
...