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

Ability to easily choose package #1830

Open
DNM1008 opened this issue Jan 3, 2022 · 4 comments
Open

Ability to easily choose package #1830

DNM1008 opened this issue Jan 3, 2022 · 4 comments
Labels
Area-Input Issue related to input commands or arguments Area-Output Issue related to CLI output Command-Install Issue related to WinGet Install Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@DNM1008
Copy link

DNM1008 commented Jan 3, 2022

Description of the new feature / enhancement

When an user typed winget install <package>, the program searches for the program and install it if there's only one candidate. If there are 2 or more candidates, it displays them then exits. The user must then copy the name/id of the program and run the program again.
Instead, it should outputs a numbered list of the matching candidates, then asks the user what package(s) that they want to install or uninstall, then continue installing/uninstalling

Proposed technical implementation details

When the user wants winget to uninstall/install packages with names that are similar to other candidates, the program should output a numbered list in the terminal, then asks the user to input the number(s) corresponding to the package(s) that they want to uninstall or install. An example would be:

winget install vlc

Multiple packages found matching input criteria
Number Name                      Id               Source
-----------------------------------------------------------
1              VLC              XPDM1ZW6815MQM    msstore
2              VLC media player VideoLAN.VLC      winget
Which one would you want to install?([1] or [2])

After which if the unser wants to install the second package, they just type "2" and hit Enter

@DNM1008 DNM1008 added the Issue-Feature This is a feature request for the Windows Package Manager client. label Jan 3, 2022
@ghost ghost added the Needs-Triage Issue need to be triaged label Jan 3, 2022
@denelon denelon removed the Needs-Triage Issue need to be triaged label Jan 3, 2022
@SpecterShell
Copy link
Contributor

Take yay (A Pacman package manager wrapper for Arch Linux) as an example:
image

@snow-jallen
Copy link

Yes please!

@denelon denelon added Area-Input Issue related to input commands or arguments Area-Output Issue related to CLI output Command-Install Issue related to WinGet Install labels Oct 21, 2024
@winchestercanal
Copy link

I want this on my desk, and I want it now!! hahahah

@32n1
Copy link

32n1 commented Dec 4, 2024

Bitte. Please. Por favor. S'il vous plaît. Per favore. Proszę. Пожалуйста. Lütfen. 请. Por favor. कृपया. Harap. Prosím. Lūdzu. Vänligen. παρακαλώ. Kérlek. Vă rog. Lütfen. Ju lutem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Input Issue related to input commands or arguments Area-Output Issue related to CLI output Command-Install Issue related to WinGet Install Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

6 participants