taskwarrior/scripts/hooks/on-exit
Paul Beckingham db37b0d4ed Hooks
- Corrected comment in sample hook script.
2014-05-17 11:41:32 -04:00

18 lines
411 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
echo on-exit
# Exit:
# 0 Means: - all emitted non-JSON lines become footnote entries
# 1 Means: - all emitted non-JSON lines become error entries
exit 0