taskbook
taskbook copied to clipboard
Feature Request: Delete range of tasks
Is your feature request related to a problem? Please describe. If I have multiple tasks to delete and they were all created around the same time, it can become tiresome having to write lots of ids especially when they are sequential.
tb -d 1 2 3 4 5
Describe the solution you'd like I would like to be able to type a command that can delete a range of tasks.
tb -d 1-5
It would also be good if one could specify multiple ranges together with single ids, for example:
tb -d 1-5 7 9-11
Thanks very much for this very useful tool!
It would also be helpful to delete tasks based on status, i.e. delete all checked tasks:
tb -d --checked
+1 for the app. It's useful and fun to use!
Okay I will add this feature in PR
One little sidenote: it would be nice to use tb also the Unix way. Example: To delete all tasks which are checked and contain the word 'implemented':
tb -d `tb -f --ids-only checked implement`
It would only require tb to list ids (--ids-only
or something like that) instead of the complete task listing.
@dubst3pp4 taskbook
uses meow
for cli helper and meow made for simplicity. So it's difficult to implement with multiple flags or checks.