Currently to install a package, you would type winget install <package>
I think it's always good for package managers to help users save on as much typing as possible, thus I would like to propose 'shorthand' versions of the winget commands, so for example for install we would have: winget in <package>
I believe this is a very handy feature from package managers such as dnf and zypper.
I need to familiarize myself with the code more, but I would presume this is an easy fix and am happy to look into it as time allows.
Pacman-style shortcut commands would also be great.
In case you're unfamiliar with Arch's Pacman, syncing the repos, upgrading all installed packages and installing pacman -Syu <pkgname>. (All in one operation)
See https://www.archlinux.org/pacman/pacman.8.html#_sync_options_apply_to_em_s_em_a_id_so_a
I find pacman's syntax to be very unclear and confusing. One letter shortcuts like winget i for winget install seem to be much clearer. Also, does winget even have a "sync" step?
We're already working on Autocomplete [tab] in PowerShell. Would that help?
It would help, yes, and I guess users could always just make their own aliases (e.g. wgi for winget install)
We're already working on Autocomplete [tab] in PowerShell. Would that help?
Yes that seems like a good way to go about it, thanks!
Duplicate of #146
Most helpful comment
We're already working on Autocomplete [tab] in PowerShell. Would that help?