mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Hooks
- Added README describing the hook system. - Corrected hook interface details regarding exit codes.
This commit is contained in:
parent
9e45f5e637
commit
f47054c485
5 changed files with 40 additions and 14 deletions
|
@ -14,9 +14,9 @@ read new_task
|
|||
echo on-add
|
||||
|
||||
# Exit:
|
||||
# 0 Means: - all emitted JSON lines are added/modified
|
||||
# - all emitted non-JSON lines become footnote entries
|
||||
# 1 Means: - all emitted JSON lines are ignored
|
||||
# - all emitted non-JSON lines become error entries
|
||||
# 0 Means: - all emitted JSON lines are added/modified
|
||||
# - all emitted non-JSON lines become footnote entries
|
||||
# non-0 Means: - all emitted JSON lines are ignored
|
||||
# - all emitted non-JSON lines become error entries
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue