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 here

Show where the cursor stands (the current node) and the active lens.

Usage

upg here [options]

Options

--file <path>
Path to .upg file
--clear
Reset the cursor to root (nowhere)
--json
Machine-readable JSON output

Examples

Report the cursor node and lens

upg here

Output

lens: product
▸ you are at: opportunity "Reduce cart abandonment"

Move the cursor back to root

upg here --clear

Related

upg atupg lsupg use