"Simon Michael" <
si...@joyful.com> writes:
> Essentially, this opens up a hole in strict account checking, to allow more convenient error-free use of --infer-equity without unexpected `check accounts` failures.
My preference is to avoid creating special cases. When I ask hledger to check accounts, I expect conversion accounts to be included.
In relation, when using data generation options I expect to do some extra work to handle the new data.
Hledger already minimizes the amount of extra work I need to do in this specific case. Simply
1. run: `hledger accounts --directives --types` (I prefer to write this to an accounts file)
2. review the output for unexpected/miss-specified accounts
> Hopefully this won't cause hassles.
In comparison to the complications you summarized my two-step process is hassle-free, no hope necessary. Step two may be done at any time (or not at all, to be honest).
Also, I am presupposing that I actually want to check my accounts here. If I don't, then none of this is necessary. If I do, then special handling could only trip me up.
The whole point of automated checks is to make me stop and think and I like how those brakes are applied as is.
The one additional feature I would value in this workflow is if an option to `hledger print` could be used to enable passing directives (or only specific directives) through.
As it stands, when I want to generate validated reports, I have to `cat` the accounts files in a subshell.
As an additional convenience, since I split my journal into years, it would be extra special if print with a period expression could somehow constrain the printed directives to those generated from the corresponding dates.
(If anyone's interested, I've set up a makefile to make step one easier with this sort of journal scheme.)
I've considered a set of contributions along these lines, but I'm being slow to get around to it. Still lots of Haskell to learn.
I haven't had a chance to read the issues yet. So excuse me if I'm being redundant.
--
Panayotis Manganaris, M.Sc.
I do not read encrypted mail. Contact ptm.22 on Signal secure messenger.