Closed dbogdanov closed 3 years ago
I made a fish function to do this for me, but yes, this would be a useful feature.
function task-notes
task $argv[1] annotate Notes
and taskopen $argv[1]
end
@dbogdanov, @Kevin-Mok
Please have a look at the NO_ANNOTATION_HOOK
configuration variable and the addnote
script in the scripts directory. The NO_ANNOTATION_HOOK
is executed if the task does not have any annotation.
Thank you, this solves the issue. Perhaps adding this info to the "Add default notes" section of the README will help.
Currently, to add a text file with notes for a task, one has to run two commands,
task annotate
andtaskopen
. Would it be possible to add an option to automatically create the required annotations (task 144 annotate Notes
) and then open them in such cases? This would solve the use-case below.