hledger icon indicating copy to clipboard operation
hledger copied to clipboard

more abstract/portable way to define reports ?

Open simonmichael opened this issue 9 years ago • 0 comments

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
...

simonmichael avatar Aug 07 '16 19:08 simonmichael