GothenburgBitFactory / GothenburgBitFactory/taskwarrior

[TW-1899] give hooks the filter args and the command args

Open
#1,912 3 comments 0 reactions 0 assignees View on GitHub
topic:hooks type:enhancement
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

_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}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.