microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.35k stars 1.45k forks source link

Group all Boolean fields in Installer Manifest #4872

Open Trenly opened 1 month ago

Trenly commented 1 month ago

Description of the new feature / enhancement

Instead of having individual boolean fields, it would be nicer for purposes of authoring / reading / suggesting edits to have a single Flags field that was an Enum of all the boolean values. If present the boolean is true, if absent it is false.

Proposed technical implementation details

Example:

Flags:
- downloadCommandProhibited
- requireExplicitUpgrade
- archiveBinariesDependOnPath
- installerAbortsTerminal
- installLocationRequired
- displayInstallWarnings
Trenly commented 1 month ago

[Policy] Breaking Change [Policy] Area-Manifest