Files
taskwarrior-2.x/scripts/hooks/on-exit
Paul Beckingham 11058396c8 Hooks
- Cleaned up せxample hooks, with clearer inline documentation.
2014-05-17 11:16:32 -04:00

20 lines
465 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 JSON lines must be fully-formed tasks
# - 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