Henning Thielemann
<
google...@henning-thielemann.de> writes:
> I see that "balance" already has a "--declared" option. This almost
> fits my needs, but I need that it shows parent accounts of declared
> but empty accounts. I think I should make "--no-elide" let them
> appear.
I had forgotten that. It does sound like exactly what's wanted:
Showing declared accounts
With --declared, accounts which have been declared with an account
directive will be included in the balance report, even if they have no
transactions. (Since they will have a zero balance, you will also need
-E/--empty to see them.)
More precisely, leaf declared accounts (with no subaccounts) will be
included, since those are usually the more useful in reports.
The idea of this is to be able to see a useful "complete" balance
report, even when you don't have transactions in all of your declared
accounts yet.
..except there can still be undeclared parents that aren't displayed ?
Yes that sounds good, --no-elide as the right kind of meaning. So you'd
get your full table of account balances with:
bal -E --declared --no-elide ?
Later if we have account lifetimes, this becomes slightly more complicated.
We might instead write:
bal -E --open --no-elide ?