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 use

Set the sticky operating lens (scopes vocabulary). No arg shows the current lens.

Usage

upg use [lens] [options]

Arguments

[lens]
A canonical lens id. Omit to print the current lens and the available ids.

Options

--file <path>
Path to .upg file
--clear
Reset to the full (unfiltered) lens
--json
Machine-readable JSON output

Examples

Show the active lens and the lenses you can switch to

upg use

Output

◐ Lens: full
  available: product · ux_design · engineering · growth · business · research · marketing · competitive · full

Scope the ceiling verbs to the design vocabulary

upg use ux_design

Drop back to the full, unfiltered graph

upg use --clear

Related

upg hereupg lsupg find