Implementation Detail:
Winget list will report any installed application on the computer and winget list -s winget has a bug where it doesn't filter to only packages with known winget packages. Code will query the tool with the desired package name to filter out noise, otherwise you might get false positives (example: specify "code" and it would accidently match "Visual Studio Code").
Installing winget packages (via resource) as an option for cupboard.
Documentation - https://docs.microsoft.com/en-us/windows/package-manager/
Implementation Detail: Winget list will report any installed application on the computer and
winget list -s winget
has a bug where it doesn't filter to only packages with known winget packages. Code will query the tool with the desired package name to filter out noise, otherwise you might get false positives (example: specify "code" and it would accidently match "Visual Studio Code").