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

Add flag --all #90

Closed
marcospb19 opened this issue Feb 2, 2023 · 3 comments · Fixed by #122
Closed

Add flag --all #90

marcospb19 opened this issue Feb 2, 2023 · 3 comments · Fixed by #122
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@marcospb19
Copy link
Collaborator

If you want to sweep everything, you might want to run cargo clean instead of sweep.

But cargo-sweep can be used as a cargo clean that runs recursively in a folder full of projects, here's how you do it:

$ cargo sweep --recursive --time 0

I suggest we add a --all flag to remove the need of using --time 0:

$ cargo sweep --recursive --all
$ cargo sweep --all
@jyn514
Copy link
Collaborator

jyn514 commented Feb 2, 2023

Hmm, this seems fine, I suppose. I would want to desugar it to --time 0 internally if we do support it.

@Max-Weissman
Copy link
Contributor

Can I try taking this on?

@jyn514
Copy link
Collaborator

jyn514 commented Feb 3, 2023

@Max-Weissman sure thing, go for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants