Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
It would be wonderful to be able to filter the list and search commands to restrict to packages that were (for list) or can-be (for search) installed specifically as a user or machine package.
Proposed technical implementation details
Add a --Scope command line parameter to the WinGet CLI in ListCommand.cpp and SearchCommand.cpp. Use the preexisting Execution::Args::Type::InstallScope enumeration (which is already used and validated in the install command).