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

- Added README describing the hook system. - Corrected hook interface details regarding exit codes.
21 lines
555 B
Bash
Executable file
21 lines
555 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# The on-launch event is triggered once, after initialization, before an
|
|
# processing occurs
|
|
|
|
# No input
|
|
|
|
# Processing goes here
|
|
|
|
# Output:
|
|
# - all emitted JSON lines must be fully-formed tasks
|
|
# - all emitted non-JSON lines are considered feedback messages
|
|
echo on-launch
|
|
|
|
# Exit:
|
|
# 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
|
|
|