mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00

* It is now possible to test: * Hook Input/Output on STDIN/STDOUT channels * Exit code of hook script * Execution count (how many times the hook was executed) * Timestamp execution (when was the hook executed - milisec resolution)
10 lines
109 B
Bash
10 lines
109 B
Bash
#!/bin/sh
|
|
|
|
echo "on-add executed"
|
|
|
|
while read TASK; do
|
|
echo "New task $TASK"
|
|
echo $TASK
|
|
done
|
|
|
|
exit 0
|