diff options
author | lassulus <lass@blue.r> | 2018-09-09 12:10:03 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-09-09 12:10:03 +0200 |
commit | 887956bf2b7d9432197e216cd5d1cfa6afaa6185 (patch) | |
tree | 0f8a07bbb2afb453ca63952d9117d95b6f8df1d6 /krebs/5pkgs/simple | |
parent | a5e484e98438ebae5af2be9223becf67d1eed17f (diff) |
reaktor: add task-done
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r-- | krebs/5pkgs/simple/Reaktor/plugins.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix index c6e601475..50b07391c 100644 --- a/krebs/5pkgs/simple/Reaktor/plugins.nix +++ b/krebs/5pkgs/simple/Reaktor/plugins.nix @@ -171,6 +171,13 @@ rec { ''; }; + task-done = buildSimpleReaktorPlugin "task-done" { + pattern = "^task-done: (?P<args>.*)$$"; + script = pkgs.writeDash "task-done" '' + ${pkgs.taskwarrior}/bin/task rc:${taskrcFile} done "$*" + ''; + }; + todo = name: { add = buildSimpleReaktorPlugin "${name}-add" { pattern = "^${name}-add: (?P<args>.*)$$"; |