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

from @unified-product-graph/cli · Read

upg context

A lens-aware product summary: counts, key entities, and domain guidance.

Usage

upg context [options]

Options

--file <path>
Path to .upg file
--lens <id>
View through a role lens
--domains <list>
Filter to domains
--summary
Include edge counts by type and orphan count
--json
Machine-readable JSON output

Examples

Lens-aware summary of the graph

upg context

Summary scoped to the design vocabulary

upg context --lens ux_design

Add edge-type and orphan counts

upg context --summary

Related

upg healthupg here