taskbook icon indicating copy to clipboard operation
taskbook copied to clipboard

Feature Request: Delete range of tasks

Open kumo opened this issue 6 years ago • 4 comments

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!

kumo avatar Aug 04 '18 14:08 kumo

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!

Splode avatar Aug 16 '18 17:08 Splode

Okay I will add this feature in PR

rjoydip-zz avatar Aug 16 '18 18:08 rjoydip-zz

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 avatar Aug 22 '18 08:08 dubst3pp4

@dubst3pp4 taskbook uses meow for cli helper and meow made for simplicity. So it's difficult to implement with multiple flags or checks.

rjoydip-zz avatar Aug 22 '18 19:08 rjoydip-zz