-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Is there a Winget Show PowerShell equivalent? #3823
Comments
For an unofficial implementation, consider starting with
From here, the output could be parsed and modified using |
I am doing something similar with Get-WGPackage from my WingetTools module. PS C:\> get-wgpackage -id WestWind.MarkdownMonster | select *
Moniker : markdown-monster
Description : MarkdownMonster A powerful, yet easy to use Markdown Editor for Windows
Author : Rick Strahl, West Wind Technologies
Publisher : West Wind Technologies
PublisherUrl : https://markdownmonster.west-wind.com
PublisherSupportUrl : https://markdownmonster.west-wind.com/docs/_4s0144w3g.htm
Homepage : https://markdownmonster.west-wind.com
Name : Markdown Monster
ID : WestWind.MarkdownMonster
Version : 3.0.8.0
Source : winget
Computername : PROSPERO I am hoping for a more native solution that doesn't require parsing YAML. |
Instead of a new command, you could add the manifest details as a metadata property on the output object. |
I'm not familiar with the best idiom here. Get-WinGetPackage is showing the "installed" packages. I was wondering if something like adding that to the output of There is also the interesting caveat with respect to showing available versions which would be likely cause more round trips to the remote source to fetch the versions rather than showing the metadata from the latest version or a particular version that has been specified. I'll chat with some of the folks on the PowerShell team about this one. |
If we were to do something like The actual manifest would contain all the localized content as well as the installers for all scopes, so that would be extra metadata in the object that could be expected for a single version of a package. In theory, then a user could do something like |
Description of the new feature / enhancement
The cli tool lets me get package details.
But I can't find a comparable equivalent in the PowerShell module. The find command is limited.
Proposed technical implementation details
Show
is a valid verb so you should be able to addShow-Wingetpackage
and write a structured object to the pipeline. The command should write a structured object to the pipeline with these properties.Tags
should be an array property.I'd make the
Installer
property a nested object.The text was updated successfully, but these errors were encountered: