Reaktor plugins wiki-todo: update feedback text
This commit is contained in:
parent
5184d19651
commit
6ed86f26f4
|
@ -132,14 +132,15 @@ rec {
|
||||||
pattern = "^wiki-todo: (?P<args>.*)$$";
|
pattern = "^wiki-todo: (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "wiki-todo-add" ''
|
script = pkgs.writeDash "wiki-todo-add" ''
|
||||||
echo "$*" >> wiki-todo
|
echo "$*" >> wiki-todo
|
||||||
echo "added todo"
|
echo "added todo. check on http://lassul.us/wiki-todo"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
wiki-todo-done = buildSimpleReaktorPlugin "wiki-todo-done" {
|
wiki-todo-done = buildSimpleReaktorPlugin "wiki-todo-done" {
|
||||||
pattern = "^wiki-todo-done: (?P<args>.*)$$";
|
pattern = "^wiki-done: (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "wiki-todo-done" ''
|
script = pkgs.writeDash "wiki-todo-done" ''
|
||||||
${pkgs.gnugrep}/bin/grep -Fvxe "$*" wiki-todo > wiki-todo.tmp
|
${pkgs.gnugrep}/bin/grep -Fvxe "$*" wiki-todo > wiki-todo.tmp
|
||||||
${pkgs.coreutils}/bin/mv wiki-todo.tmp wiki-todo
|
${pkgs.coreutils}/bin/mv wiki-todo.tmp wiki-todo
|
||||||
|
echo "thank you for resolving todo: $*"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
wiki-todo-show = buildSimpleReaktorPlugin "wiki-todo" {
|
wiki-todo-show = buildSimpleReaktorPlugin "wiki-todo" {
|
||||||
|
|
Loading…
Reference in a new issue