mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
20 lines
409 B
Bash
Executable file
20 lines
409 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# The on-exit event is triggered once, after all processing is complete, i.e.
|
|
# last
|
|
|
|
# Input:
|
|
# - read-only line of JSON for each task added/modified
|
|
|
|
# Output:
|
|
# - any emitted JSON is ignored
|
|
# - all emitted non-JSON lines are considered feedback messages if the exit
|
|
# code is zero, otherwise they are considerederrors.
|
|
|
|
while read modified_task
|
|
do
|
|
# Scan task
|
|
done
|
|
|
|
echo 'on-exit'
|
|
exit 0
|