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

Adopt

5 surfaces

from @unified-product-graph/cli · Frameworks

upg score

Record a framework's result for one entity on the exercise's includes edge.

Usage

upg score <exercise-id> <entity-id> --data <json> [options]

Arguments

<exercise-id>
The framework_exercise to record into
<entity-id>
The entity being scored (auto-included if not yet in scope)

Options

--file <path>
Path to .upg file
--data <json>
Required. Result as JSON, e.g. '{"moscow":"must"}' or '{"reach":4,"impact":5}'
--replace
Replace the edge properties instead of merging into them
--slot-role <role>
Framework slot role this entity plays (e.g. pain_reliever); rides the same edge as the result
--json
Machine-readable JSON output

Examples

Record a MoSCoW bucket

upg score n_fx_q3 feat_sso --data '{"moscow":"must"}'

Record RICE inputs

upg score n_fx_q3 feat_dark --data '{"reach":4,"impact":5,"confidence":3,"effort":2}'

Related

upg applyupg show