mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
18 lines
502 B
Bash
Executable file
18 lines
502 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# The on-launch event is triggered once, after initialization, before any
|
|
# processing occurs, i.e first
|
|
|
|
# Input:
|
|
# - none
|
|
|
|
# Output:
|
|
# - all emitted JSON lines are added/modified as tasks, if the exit code is
|
|
# zero, otherwise ignored.
|
|
# - minimal new task: {"description":"Buy milk"}
|
|
# - to modify a task include complete JSON
|
|
# - all emitted non-JSON lines are considered feedback messages if the exit
|
|
# code is zero, otherwise they are considerederrors.
|
|
|
|
echo 'on-launch'
|
|
exit 0
|