On Sun, Apr 14, 2019 at 8:15 AM Stefano Zacchiroli <[email protected]> wrote:

> Heya, has anyone already written a Beancount plugin that emulates what
> ledger --strict does? Namely, that tags and metadata fields must be
> predefined in order to be allowed?[^]
>

You'd like some input syntax that allows one to declare what tags and
metadata are allowed, and to constrain to those?
Indeed you could use a plugin for that.
You could also do something looser, l like allow a particular syntax (via
regexp) to constrain them.


It's trivial to do with a plugin, but if someone has already done it,
> I'll avoid re-implementing it :-)
>
> TIA,
> Cheers
>
> [^]: ledger's --strict also requires commodities to be pre-declared, but
>      Beancount is strict by default in that respect, so there is no need
>      to emulate it.
> --
> Stefano Zacchiroli . [email protected] . upsilon.cc/zack . . o . . . o . o
> Computer Science Professor . CTO Software Heritage . . . . . o . . . o o
> Former Debian Project Leader & OSI Board Director  . . . o o o . . . o .
> « the first rule of tautology club is the first rule of tautology club »
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/20190414121519.gufl6g5tkoiqflfx%40upsilon.cc
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhOn_G3WKOxyfNyE5cetN48Us9dEq9FGEyW2eFPd26jvYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to