Skip to content
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

Add aliases for installation and uninstallation #2303

Open
wmstack opened this issue Jul 2, 2022 · 0 comments
Open

Add aliases for installation and uninstallation #2303

wmstack opened this issue Jul 2, 2022 · 0 comments
Labels
Issue-Feature Needs-Triage

Comments

@wmstack
Copy link

@wmstack wmstack commented Jul 2, 2022

Description of the new feature / enhancement

Make i an alias for install in winget. Makes the package manager feel a lot more user-friendly. Also add r and remove as aliases to uninstall. i is already used by NPM, so is a nice alias for installing packages. remove is used by the apt package manager, so it would be helpful if users of apt can have the same feel with Winget. Also r would be a helpful alias for remove, though I haven't seen any package manger which uses it beforehand. Another option is to have u as an alias for uninstall, though I think this wouldn't be intuitive.

Could also add ls as an alias for list, and rm as an alias for uninstall. However, it depends on how much the team focuses on UX or DX. I personally strongly suggest those aliases, which need to be strongly tied to historical command names. For example, the apt package manager for linux was perhaps the oldest and most popular, and it has the remove keyword for removing a package. So if we reuse its subcommand names, we reduce the friction.

What do you think?

Proposed technical implementation details

Make i an alias for install, and document it in the help page. Make r and remove aliases for uninstall and document them in the help page as well.

@wmstack wmstack added the Issue-Feature label Jul 2, 2022
@msftbot msftbot bot added the Needs-Triage label Jul 2, 2022
@wmstack wmstack changed the title Add small subcommand for installation and uninstallation Add aliases for installation and uninstallation Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Needs-Triage
Projects
None yet
Development

No branches or pull requests

1 participant