gc: Determine CLI design for manual cleaning #13060
Labels
Command-clean
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Z-gc
Nightly: garbage collection
The current implementation from #12634 exposes a
cargo clean gc
subcommand to handle manually cleaning cache data. It is not clear what the final CLI design should be (and it is not clear exactly what the user scenarios are for when they would want to take manual control). This issue is tracking for determining what the CLI should look like. There are few different considerations:cargo cache
is already in use by a third-party commandcargo gc
(reserved by a third-party, but unused), was part of early proposals (cargo doesn't handle unstable top-level subcommands very well)cargo clean gc
— the current implementationcargo clean
— just fold the functionality into a single command which handles cleaning caches. @epage has concerns that this is overloading a subcommand used for different types of caches (local vs global, etc.).cargo maintenance
— just an idea stolen from gitThe text was updated successfully, but these errors were encountered: