Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.

from @unified-product-graph/cli · Stand in the graph

upg fix

Execute the top auto-remediable fix from `upg check` (with confirmation).

Usage

upg fix [options]

Options

--file <path>
Path to .upg file
--yes, -y
Skip confirmation (required for non-interactive use)
--json
Machine-readable JSON output

Examples

Apply the top remediation from check; a TTY confirms first

upg fix

Output

◑ Top finding "Orphaned opportunity" needs a judgment call (not auto-fixable).
  Link it to a solution or persona, or delete it.
  → upg gaps --domain discovery

Apply the top auto-remediable fix non-interactively (required in CI)

upg fix --yes

Related

upg checkupg verifyupg health