taskwarrior/test/test_hooks/on-exit-misbehave1
Paul Beckingham 3ff42af9c7 Unit Tests
- Added sample hooks that behave/misbehave in various ways.
2015-01-31 18:34:25 -05:00

16 lines
366 B
Bash

#!/bin/bash
# The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing.
# Input:
# - Read-only line of JSON for each task added/modified
# Output:
# - Optional feedback/error.
echo 'FEEDBACK'
# Status:
# - 0: JSON ignored, non-JSON is feedback.
# - non-0: JSON ignored, non-JSON is error.
exit 0