-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uninstall
usability
#121
Comments
The error shouldn't happen but I'm not quite sure if we really want to expand this. It can lead to unwanted uninstallations, which are destructive! Maybe we should print something like:
|
what do you think? :) |
Hmm, I see two things that can be improved:
|
You're totally right! just made #125 that fixes that 😄
this is interesting too. I hope I have time to do that! |
Glad i could help - wish i could help with code, but ReasonML is so far out of my comfort zone it would be a disaster. Meanwhile, i can try to help however i can within my competence as a user :) |
If there's a single match, I'd prefer a simple If there are multiple matching versions, I agree that showing a list of available versions would be the appropriate behavior. |
* If no version is matching => we print out a message (like we used to) * If only one version is matching (because the user provided a specific version `6.17.1` or because the prefix match only one installed version) => the version get uninstalled * If multiple installed versions are matched: we print out the matching installed versions and ask the user to re-run the command with the correct version to uninstall. Note: it's not possible to uninstall using `latest` or `latest-v9.x`, ... But that's already the case so nothing has changed here.
I can
fnm install 12
, but i cannotfnm uninstall 10
even if there is clearly only one fitting match.Additionally, i have to type
vXX.XX.X
, numbers are not enough.I think behavior could be more user friendly (which in this case also means consistent across commands).
PS. Ill report bug about error above in different issue - it looks like it didnt uninstall 10 because of that.
The text was updated successfully, but these errors were encountered: