Open taskwarrior opened 6 years ago
Migrated metadata:
Created: 2017-03-07T21:46:33Z
Modified: 2017-03-08T19:07:57Z
Paul Beckingham on 2017-03-08T16:21:49Z says:
It's more complicated than 'before' vs 'after'. How about distinguishing by 'filter' and 'mods'?
Tomas Babej on 2017-03-08T19:07:57Z says:
Indeed, this quickly converges to the necessity of task sharing the (parts of the) parse tree tags with the external program. 3rd party tools should not need to reimplement task's parsing engine.
Yanick Champoux on 2017-03-07T21:46:33Z says:
Right now hooks get the args via, well, the
args
attribute. E.g.,{code} args:task something like progr sumfin command:progress {code}
While it's not too hard to have hooks to parse which part of args is the pre-command filter, and which part goes after, it's still tricky because of the possibility to abbreviate the command, and the keyword appearing something else on the line. It's be nice if the hooks got something like
{code} args:task something like progr sumfin pre_command_args: something like post_command_args: sumfin command:progress {code}