tadzik / rakudobrew

Perl 6 installation manager
MIT License
185 stars 42 forks source link

rakudobrew nuke - documentation, usage, misc. #101

Open coke opened 8 years ago

coke commented 8 years ago
$ rakudobrew nuke
Switch to what?
Available builds
moar-2016.05
moar-2016.07.1
moar-debc7c20944ff43e1c5aab8c5f46a0a410cf83ea
moar-nom
Updating shims

I'm guessing that I want: rakudobrew nuke <version> here, but there's no help I can find to say what nuke does or how to use it. (the generic usage doesn't work in my case: "nuke moar" is confused)

The text "Switch to what?" is probably generic text from a version selector, but in nuke's case, it's not a switch, so the message is confusing.

coke commented 8 years ago

Also - it's updating the shims even when you haven't picked something to nuke.

coke commented 8 years ago

Also, it should probably complain if there's nothing left to nuke:

$ rakudobrew nuke
Switch to what?
Available builds
Updating shims