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

[Request]: Get-WGPackage --query Flag #9

Open
riotrah opened this issue Sep 5, 2022 · 1 comment
Open

[Request]: Get-WGPackage --query Flag #9

riotrah opened this issue Sep 5, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request pending pending user feedback

Comments

@riotrah
Copy link

riotrah commented Sep 5, 2022

Describe the request

Hello, thanks for this module <3.

Was wondering if I could easily replace my winget search FOO queries with Get-WGPackage -q FOO.

I know I can pipe the former into the latter, but for some reason, doing so induces bizarrely noisy results and duplicated lines printed that say

WARNING: winget show --source winget
WARNING: No package found matching input criteria.
... (repeats a few times for some reason) ...

I imagine the strange output above is independent from the possibility of passing to winget a --query arg, but perhaps the issue of the former can serve as a motivation for the latter in the meantime.

PowerShell version

7.2

Platform

Windows 11 Pro or Enterprise

@riotrah riotrah added enhancement New feature or request triage new issue that needs review labels Sep 5, 2022
@jdhitsolutions
Copy link
Owner

This should already work. You may need to specify a parameter.

image

Your winget show command is missing a moniker or id.

image

@jdhitsolutions jdhitsolutions added pending pending user feedback and removed triage new issue that needs review labels Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending pending user feedback
Projects
None yet
Development

No branches or pull requests

2 participants