from @unified-product-graph/cli · Stand in the graph
upg ls
List the cursor's neighbours, grouped by relationship, with a "next here" hint.
Usage
upg ls [options]Options
--file <path>- Path to .upg file
--at <id>- List a node's neighbours statelessly (ignores the cursor)
--json- Machine-readable JSON output
Examples
Show the cursor's neighbours as verbs, plus what you can create next
upg lsOutput
opportunity "Reduce cart abandonment" addresses → solution "Guest checkout flow" ← pursues persona "Returning shopper" next here: solution, hypothesis, metric
List a node's neighbours without moving the cursor
upg ls --at n_abc123