GothenburgBitFactory / GothenburgBitFactory/tasklib

Output feedback text

Open
#60 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
159
Forks
29
PR merge metrics
No merged PRs in 30d

Description

*Thank you for making/maintaining `tasklib`!*

Per https://taskwarrior.org/docs/hooks.html (my emphasis):

> Output from a hook script is a combination of a JSON-formatted task and text. Just as the JSON for a task must occupy a single line, so must a single feedback message. Feedback text is optional for a successful hook script, but **required** for a failing script. If provided it will be displayed by Taskwarrior according to the verbosity setting.
>
> Here is sample output from a hypothetical spell-checking hook script:
>
> {"description":"Buy some milk","entry":"20141118T050231Z","status":"pending","uuid":"a360fc44-315c-4366-b70c-ea7e7520b749"}
> Spell checking found no errors.
>
> The output is a single line JSON object which represents an optionally modified task, and a single line of feedback text to be displayed.
>
> There may only be one line of JSON, and it must be for the same task that was provided as input.

However, `tasklib` does not seem to have a (documented) way to output feedback text.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.