Add settings values to `winget --info`
Description of the new feature / enhancement
The behavior of WinGet can be modified by Group Policy, Administrative Settings, and User Settings (settings.json). Sometimes troubleshooting issues is tricky without knowing which settings have been applied.
WinGet info displays "Group Policy" so the user can be aware of those settings configured by an administrator.
It would also be helpful to see "Administrator Settings" and "User Settings" all in one place.
Note: as experimental settings change from version to version, they may no longer apply to the client. Ideally, the display via winget --info would only render settings the client understands how to honor.
Proposed technical implementation details
No response
This was inspired by:
- https://github.com/microsoft/winget-cli/issues/2879
I realized there is no "easy" way to see administrative settings, and if we're going to expose those, we might as well include the user settings.
If someone from the community is interested, and the "Ideally" statement in the issue above is too complicated, that can be split into a separate issue. 😊
Note: winget settings export will dump administrative settings out as JSON.