cargo-wipe
cargo-wipe copied to clipboard
-w all
would be nice to do node and target dir at once.
This sounds like a very good idea, and it will become even more important when we add support for extra languages.
We'll have to figure out how to handle the display in this case. There seem to be three options:
- one table for each language
- single table with intermingled results with a new column indicating the language
- single table with intermingled results with no language indication
Suggestion that fits this (if more languages would be supported): -w rust,node,etc
Also, would rust
be a sane default? I guess a lot of people using cargo
would want to remove target directories.
Suggestion that fits this (if more languages would be supported):
-w rust,node,etc
Also, would
rust
be a sane default? I guess a lot of people usingcargo
would want to remove target directories.
I like this idea! A list of languages makes more sense and it's a lot more obvious than a blanket -w all
.
I'm not sure about the default to rust. It will become less and less obvious/expected once more languages are added.