Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Clean or Clear command to delete checked items #40

Closed
tmyers273 opened this issue Aug 3, 2018 · 5 comments
Closed

Comments

@tmyers273
Copy link

Describe the solution you'd like
A command that can be run to clean or clear all checked items. This would simply loop through and delete all checked items.

tb --clear or tb --clean

Additional context
I like to start my work day with a clean to do list. Meaning, there is no checked tasks on the board. Currently, I am accomplishing this by manually deleting all checked tasks
tb -d 113 115 116 117 120 121

But that approach is error prone. It is too easy to type an incorrect id.

By the way, LOVE the tool! Been using it daily since it was posted on HN a few days ago!

@JoshuaCrocker
Copy link
Contributor

+1 I would be willing to give this a go

@jadiaz
Copy link

jadiaz commented Aug 6, 2018

another possible option tb --archive --checked so as not to have to introduce a new keyword

@rjoydip-zz
Copy link

rjoydip-zz commented Aug 7, 2018

@jadiaz good but each time you have to check both the flags and alias.

@casidiablo
Copy link

Also, --archive right now means, confusingly, "list archived items". So --archive --checked sounds to me like "list checked archived items"

@eckdanny
Copy link

@casidiablo Agree. Care to mention or upvote in #72?

A batch for task in tasks { remove if completed } command would be nice.

klaudiosinani pushed a commit that referenced this issue Aug 22, 2018
* Add clean feature

* Changed clean alias to 'C' (Cap-C)

* @klauscfhq Review Changes

* Fix formatting issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants