You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent / tracking issue for structured, machine-readable output in WinGet.
To enable automation and consumption by other tools, WinGet commands should be able to emit structured output (e.g. JSON) in addition to the default human-readable tables. Parsing the default console output is brittle; a stable structured format lets scripts and tools consume results reliably.
This issue tracks the overall effort; individual slices are tracked as sub-issues / related work below.
Scope
A consistent --format json (and potentially other structured formats) across commands that produce output — e.g. list, upgrade, search, show, export.
A stable, documented schema for each command's structured output.
Where appropriate, keep the shape of the structured output (field names and structure) aligned with the objects returned by the WinGet PowerShell module, so consumers get a consistent schema across the CLI and the module rather than two divergent shapes.
Well-defined behavior for empty results and error paths so output stays parseable.
Relevant area(s)
Description of the new feature / enhancement
Parent / tracking issue for structured, machine-readable output in WinGet.
To enable automation and consumption by other tools, WinGet commands should be able to emit structured output (e.g. JSON) in addition to the default human-readable tables. Parsing the default console output is brittle; a stable structured format lets scripts and tools consume results reliably.
This issue tracks the overall effort; individual slices are tracked as sub-issues / related work below.
Scope
--format json(and potentially other structured formats) across commands that produce output — e.g.list,upgrade,search,show,export.Related work and sub-issues
--format jsonforlistandupgrade(list-only) output.list/upgrade; covered by the work above.winget exportJSON output (export payload).Out of scope (separate concerns)
Updated with GitHub Copilot.