dotnet / cli-lab

A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain.
MIT License
602 stars 55 forks source link

Remove all but major versions #302

Open thesutex opened 2 months ago

thesutex commented 2 months ago

I'm trying to use this tool to remove unsupported versions , but choosing point versions is unintuitive as that version changes every month .

Is there a way, or can you add, so that one can say remove all except dotnet 6 and 8 as those are supported and remove the rest. Wildcard support would prob fix this with:

Dotnet-core-uninstall remove --all-but 8.0. 6.0. --hosting-bundle