Hooks
- Typos.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
# - minimal new task: {"description":"Buy milk"}
|
# - minimal new task: {"description":"Buy milk"}
|
||||||
# - to modify a task include complete JSON
|
# - to modify a task include complete JSON
|
||||||
# - all emitted non-JSON lines are considered feedback messages if the exit
|
# - all emitted non-JSON lines are considered feedback messages if the exit
|
||||||
# code is zero, otherwise they are considerederrors.
|
# code is zero, otherwise they are considered errors.
|
||||||
|
|
||||||
read new_task
|
read new_task
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
# Output:
|
# Output:
|
||||||
# - any emitted JSON is ignored
|
# - any emitted JSON is ignored
|
||||||
# - all emitted non-JSON lines are considered feedback messages if the exit
|
# - all emitted non-JSON lines are considered feedback messages if the exit
|
||||||
# code is zero, otherwise they are considerederrors.
|
# code is zero, otherwise they are considered errors.
|
||||||
|
|
||||||
while read modified_task
|
while read modified_task
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# - minimal new task: {"description":"Buy milk"}
|
# - minimal new task: {"description":"Buy milk"}
|
||||||
# - to modify a task include complete JSON
|
# - to modify a task include complete JSON
|
||||||
# - all emitted non-JSON lines are considered feedback messages if the exit
|
# - all emitted non-JSON lines are considered feedback messages if the exit
|
||||||
# code is zero, otherwise they are considerederrors.
|
# code is zero, otherwise they are considered errors.
|
||||||
|
|
||||||
echo 'on-launch'
|
echo 'on-launch'
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# - minimal new task: {"description":"Buy milk"}
|
# - minimal new task: {"description":"Buy milk"}
|
||||||
# - to modify a task include complete JSON
|
# - to modify a task include complete JSON
|
||||||
# - all emitted non-JSON lines are considered feedback messages if the exit
|
# - all emitted non-JSON lines are considered feedback messages if the exit
|
||||||
# code is zero, otherwise they are considerederrors.
|
# code is zero, otherwise they are considered errors.
|
||||||
|
|
||||||
read original_task
|
read original_task
|
||||||
read modified_task
|
read modified_task
|
||||||
|
|||||||
Reference in New Issue
Block a user