from @unified-product-graph/cli · Create & edit
upg move
Re-parent a node under a new parent, re-typing its containment edge.
Usage
upg move <id> <new-parent> [options]Arguments
<id>- The node to re-parent
<new-parent>- The new parent node, resolved by id or title
Options
--file <path>- Path to .upg file
--type <edge>- Override the inferred containment edge type
--old-edge <edge-id>- Disambiguate when the node has multiple hierarchy edges
-y, --yes- Skip confirmation
--json- Machine-readable JSON output
Examples
Re-parent a story under a new epic
upg move n_story n_epic