Output feedback text
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia dalla descrizione dell’issue e dalla documentazione collegata degli hook di Taskwarrior; non sono indicati file sorgente, test o punti di ingresso. Traccia il modo in cui tasklib gestisce l’output degli hook e definisci un modo supportato per emettere testo di feedback, considerando completato il lavoro quando è possibile produrre messaggi degli hook sia di successo sia di errore come documentato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 158
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GothenburgBitFactory/tasklib
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
GothenburgBitFactory/tasklib#136 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
GothenburgBitFactory/tasklib#135 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
GothenburgBitFactory/tasklib#133 · 1 commento · 2 reazioni ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
GothenburgBitFactory/tasklib#132 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GothenburgBitFactory/tasklib#131 · 2 commenti ·
Tutte le issue di GothenburgBitFactory/tasklib
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·