from @unified-product-graph/cli · Graph
upg registry
The canonical-entity registry: shared entities many products instance. Operates on a portfolio graph (default portfolio.upg).
Usage
upg registry <define|update|register|promote|list|connect|org> [options]Arguments
<subcommand>- define, update, register, promote, list, connect, or org
Options
--file <path>- Path to .upg file
--json- Machine-readable JSON output
Examples
All canonical entities
upg registry listDefine a shared canonical entity
upg registry define persona "Developer"Instance a canonical entity into a product
upg registry register my-product n_xyz --canonical persona_developer