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 Option to choose file easily #511

Closed
Agent24015 opened this issue Jul 25, 2020 · 7 comments
Closed

Add Option to choose file easily #511

Agent24015 opened this issue Jul 25, 2020 · 7 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Needs-Author-Feedback Issue needs attention from issue or PR author
Milestone

Comments

@Agent24015
Copy link

Hi , can you make a feature which allows easy selection of an App when there is more than on app to be downloaded
Something Like This,

Microsoft Windows [Version 10.0.19041.388]
(c) 2020 Microsoft Corporation. All rights reserved

Multiple apps found matching input criteria. Please refine the input
Name                     	                   Id                    Version       
---------------------------------------------------------------------------------------
[1] Windows Terminal     	  Microsoft.WindowsTerminal              1.1.2021.0    
[2] Terminus                      Eugeny.Terminus                        1.0.112        
[3] Windows Terminal Preview      Microsoft.WindowsTerminalPreview       1.2.2022.0   

Please choose a Number to install it :  
@ghost ghost added the Needs-Triage Issue need to be triaged label Jul 25, 2020
@megamorf
Copy link

megamorf commented Jul 25, 2020

@Agent24015 Thanks for reporting this. However, I'd recommend closing this issue since the solution to your problem can be found by checking the docs or the command line help (winget install --help). What you're looking for is the --exact (-e) parameter. See:

Edit: Oh, I seem to have misread your feature request. Still, what you're asking for has been added to the spec already. See
#292 and #492 for details.

@Agent24015
Copy link
Author

Agent24015 commented Jul 26, 2020 via email

@suhailmalik07
Copy link

suhailmalik07 commented Jul 26, 2020

Package are not things where you have choice. If I asked for windows terminal. It should install windows terminal and didn't give me options to choose which I didn't asked.
EX - linux package managers

If I'm installing many packages then I have to choose every package with number and this make it more difficult than downloading and installing from the vendors site.

Your idea is good but not for this situation.

@denelon
Copy link
Contributor

denelon commented Jul 27, 2020

We're testing a version with the changes for #292 and it's close to being released.
The search command would behave essentially as it does today. The query parameter (the string you typed in) is checked as a substring of several fields "Name", "Id", "moniker", etc.
The install and show command use the "exact" type behavior so if there is only one exact match you will get that program installed (with install) or it's manifest displayed with show.

This feature or something very similar might work well when you provide a search string and there isn't an exact match. We could still provide the list of similar results and in that specific case, we could provide the option to select one of the "close" matches in the event what the user wants is displayed.

@Agent24015 would that work for the use case you are describing here?

@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Triage Issue need to be triaged labels Jul 27, 2020
@Agent24015
Copy link
Author

Agent24015 commented Jul 28, 2020 via email

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jul 28, 2020
@denelon
Copy link
Contributor

denelon commented Aug 10, 2020

@Agent24015 have you had a chance to check the "current" version of the behavior for the client? search is still a more broad command that will pull multiple results back even when there is an exact match (as in the case of winget search power. The show and install command will use an exact match if one exists.

@denelon denelon added Needs-Author-Feedback Issue needs attention from issue or PR author and removed Needs-Attention Issue needs attention from Microsoft labels Aug 10, 2020
@ghost ghost added the No-Recent-Activity Issue has no recent activity label Aug 14, 2020
@ghost
Copy link

ghost commented Aug 14, 2020

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost ghost closed this as completed Aug 18, 2020
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022
@ghost ghost removed the No-Recent-Activity Issue has no recent activity label Jun 21, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Needs-Author-Feedback Issue needs attention from issue or PR author
Projects
None yet
Development

No branches or pull requests

4 participants