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

Safer command-line logic #213

Closed
savchenko opened this issue Apr 27, 2021 · 2 comments
Closed

Safer command-line logic #213

savchenko opened this issue Apr 27, 2021 · 2 comments

Comments

@savchenko
Copy link
Collaborator

savchenko commented Apr 27, 2021

While poking around #137, I have tried to show tasks that are done:

$ ta done
modified task 9590b11f-4cf9-4f77-879d-f5879c05c76c
modified task d864f740-cf2b-4a09-b256-60a0386fb29b
modified task edfce578-24ef-4961-8490-b872374f1a42
modified task 91678ad0-929d-4aff-97be-620758af6758

...Now I'm thinking of #92 :) Perhaps if no argument is provided TaskChampion should assume that no task is be modified?

Example:

# Safe action by default, potentially destructive requires an explicit direction.
$ ta * mod done # sets all tasks to "done"
$ ta * done # shows all tasks that are done
@dbr
Copy link
Collaborator

dbr commented Apr 27, 2021

Similar to #177 - there's a few places where the CLI is a bit overly eager to bulk-change tasks.

#179 will also help with this

@savchenko
Copy link
Collaborator Author

True. Could you post content of your #177 under the #179? I will do the same and then we can close the extraneous issues.

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

No branches or pull requests

2 participants