klaudiosinani / klaudiosinani/taskbook
Feature Request: Delete range of tasks
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 393
- PR merge metrics
- No merged PRs in 30d
Description
**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!
Contributor guide
Research direction
Start with the CLI argument handling for the delete command and trace how task IDs are parsed. Verify the existing single-ID deletion behavior first, then use the examples in this issue as acceptance cases: ranges such as 1-5 and mixed ranges and IDs such as 1-5 7 9-11 should delete the intended tasks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100