microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.37k stars 1.45k forks source link

Accept shorthand CLI commands - like `winget i` in place of `winget install` #4984

Closed jo-chemla closed 1 week ago

jo-chemla commented 1 week ago

Description of the new feature / enhancement

It could be useful to accept the shortcut winget i in place of winget install for the sake of speed. Other often-used commands could also benefit from having a single-char shorthand alias.

Proposed technical implementation details

Potential list of single-char aliases below. Some commands have no alias suggested as their initial is the same as another command which might be more used. Open to hearing the community thoughts!

install: i
upgrade: u

uninstall: 
download: d

help: h
list: l
search: s
import: 
show: 
Trenly commented 1 week ago
microsoft-github-policy-service[bot] commented 1 week ago

Hello @jo-chemla,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed

jo-chemla commented 1 week ago

Thanks, don't know how I missed it, I searched the existing issues multiple times.