News for hackers. Stuff that matters.
Re:Show HN: DMSd - Turn files matching a glob into a DMS by LeonB on Monday May 15, 2023 @04:43AM (#35945305)
I saw an example tag of “due:tomorrow” … which made me wonder if there is or could be or should be a macro system…

I.e. you tell dmsd to give a document a tag of

`due:@tomorrow` then the tool would assess this and give the document a tag of

`due:2023-05-16`

…or whatever the `@tomorrow` macro evaluates to at the moment you set it.

Another tag might have a key of “urgency” and (somewhere) you’ve configured that values associated with the key `urgency` must match this regex:

/^(high|medium|low)$/i

So if you try to set a tag `urgency:ludicrous` it will show an error message.

There are no comments on this comment yet.