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

Winget install/show without arguments should not produce a list of all packages #1131

Closed
vsdaan opened this issue Jun 7, 2021 · 5 comments · Fixed by #2125
Closed

Winget install/show without arguments should not produce a list of all packages #1131

vsdaan opened this issue Jun 7, 2021 · 5 comments · Fixed by #2125
Labels
Area-Output Issue related to CLI output Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@vsdaan
Copy link

vsdaan commented Jun 7, 2021

Description of the new feature/enhancement

When typing winget install or winget show the CLI currently outputs a list of all packages with a mention there have been too many packages found. This floods the terminal and is not user-friendly. When no arguments are given it should default to the help message or simply a warning the user has to provide a package name.

Proposed technical implementation details (optional)

If installor show have no arguments, the terminal should respond with: Please provide a package name or refer to the help message of the command.

@vsdaan vsdaan added the Issue-Feature This is a feature request for the Windows Package Manager client. label Jun 7, 2021
@ghost ghost added the Needs-Triage Issue need to be triaged label Jun 7, 2021
@Jaifroid
Copy link

Jaifroid commented Jun 7, 2021

Have to agree. Now that there are so many packages, it takes forever to show a list that is usually truncated in the terminal in any case, so useless. It would be better to show help if someone writes winget install.

@denelon denelon added Area-Output Issue related to CLI output and removed Needs-Triage Issue need to be triaged labels Jun 7, 2021
@denelon denelon added this to the v.Next - Windows Package Manager milestone Jun 7, 2021
@denelon
Copy link
Contributor

denelon commented Jun 7, 2021

@theking465 great suggestion.

ChungZH added a commit to ChungZH/winget-cli that referenced this issue Sep 4, 2021
@ChungZH ChungZH mentioned this issue Sep 4, 2021
2 tasks
@ghost ghost added the In-PR Issue related to a PR label Sep 4, 2021
@ghost ghost removed the In-PR Issue related to a PR label Sep 19, 2021
@denelon denelon modified the milestones: v.Next-Client, v1.3-Client Dec 1, 2021
@ghost ghost added the In-PR Issue related to a PR label Apr 26, 2022
@ghost ghost added Resolution-Fix-Committed and removed In-PR Issue related to a PR labels Apr 27, 2022
@ghost
Copy link

ghost commented Aug 15, 2022

I found it handy to dump an exhaustive list to a text file so I could browse through the gazillions of things out there. That's how I found a bunch of applications I hadn't considered before. Will that be an option somehow in the future now that it's been removed from "winget search" as a default?

@denelon
Copy link
Contributor

denelon commented Aug 15, 2022

@j-mclain it's possible to browse the winget-pkgs repository. I do see a potential convenience for dumping all packages. We will have to look at what might make sense. Maybe something like winget search -s <source> --all or something like that.

@Trenly
Copy link
Contributor

Trenly commented Aug 15, 2022

winget search --query="" --source=winget allows for dumping the entire list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Output Issue related to CLI output Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
4 participants