cargo-wipe icon indicating copy to clipboard operation
cargo-wipe copied to clipboard

-w all

Open gilescope opened this issue 2 years ago • 3 comments

would be nice to do node and target dir at once.

gilescope avatar Oct 12 '22 08:10 gilescope

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

mihai-dinculescu avatar Oct 24 '22 08:10 mihai-dinculescu

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.

atezet avatar Apr 11 '23 18:04 atezet

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.

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.

mihai-dinculescu avatar Apr 18 '23 18:04 mihai-dinculescu