Simon Michael
2018-09-22 07:36:51 UTC
Old, Ledger-style balance reports look like this:
$ hledger -f examples/sample.journal bal
$-1 assets
$1 bank:saving
$-2 cash
$2 expenses
$1 food
$1 supplies
$-2 income
$-1 gifts
$-1 salary
$1 liabilities:debts
--------------------
0
New, tabular balance reports look like this:
$ hledger -f examples/sample.journal bal -Y
Balance changes in 2008:
|| 2008
====================++======
assets:bank:saving || $1
assets:cash || $-2
expenses:food || $1
expenses:supplies || $1
income:gifts || $-1
income:salary || $-1
liabilities:debts || $1
--------------------++------
|| 0
How would y'all feel about dropping the first style entirely, in favour of the second ? (If no interval is specified, the column heading would be the full date span of the journal.)
It's giving up a bit of history. But these are two separate code paths, which is really costly to maintain, and I would dearly love to retire the old one.
The new one is missing a feature: eliding of boring parents. I would implement that, I guess.
Thoughts ?
$ hledger -f examples/sample.journal bal
$-1 assets
$1 bank:saving
$-2 cash
$2 expenses
$1 food
$1 supplies
$-2 income
$-1 gifts
$-1 salary
$1 liabilities:debts
--------------------
0
New, tabular balance reports look like this:
$ hledger -f examples/sample.journal bal -Y
Balance changes in 2008:
|| 2008
====================++======
assets:bank:saving || $1
assets:cash || $-2
expenses:food || $1
expenses:supplies || $1
income:gifts || $-1
income:salary || $-1
liabilities:debts || $1
--------------------++------
|| 0
How would y'all feel about dropping the first style entirely, in favour of the second ? (If no interval is specified, the column heading would be the full date span of the journal.)
It's giving up a bit of history. But these are two separate code paths, which is really costly to maintain, and I would dearly love to retire the old one.
The new one is missing a feature: eliding of boring parents. I would implement that, I guess.
Thoughts ?
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.