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

- Clarified the interface for on-exit, as there is no opportunity for scripts triggered by this event to modify data directly.
20 lines
517 B
Bash
Executable file
20 lines
517 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# The on-exit event is triggered once, after all processing is complete
|
|
|
|
# Input:
|
|
# - A read-only line of JSON for each task added/modified
|
|
|
|
# Processing goes here
|
|
|
|
# Output:
|
|
# - all emitted non-JSON lines are considered feedback messages
|
|
# - The onExit event occurs too late to allow any changes, so the input is not
|
|
# to be modified
|
|
echo on-exit
|
|
|
|
# Exit:
|
|
# 0 Means: - all emitted non-JSON lines become footnote entries
|
|
# non-0 Means: - all emitted non-JSON lines become error entries
|
|
exit 0
|
|
|