naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!
https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/
MIT License
793 stars 47 forks source link

Critical task count for warning counts templates but should not #151

Closed bongoman closed 2 years ago

bongoman commented 3 years ago

I created a template task with P0

When I run the dstask report, I get the warning: "1 critical tasks outside this context! Use dstask -- P0 to see them."

When I run dstask -- P0 I receive the output: "No matching tasks in given context or filter."

How to view the P0 task?

kingo55 commented 2 years ago

A template, you say? How about if you go?:

dstask context --
dstask show-templates P0
naggie commented 2 years ago

It seems that count includes templates, where it should not.