Open ghost opened 5 years ago
A workaround is to do something like (e.g. for a failing hook):
print("Hook failed!")
sys.exit(1)
If this is the intended approach for handling feedback text with tasklib
, then it should ideally be mentioned in the tasklib
docs, and then this issue closed as fixed.
Alternatively, if another approach is intended, then that other approach should be documented/implemented.
Thank you for making/maintaining
tasklib
!Per https://taskwarrior.org/docs/hooks.html (my emphasis):
However,
tasklib
does not seem to have a (documented) way to output feedback text.