Skip to content

from @unified-product-graph/cli · Create & edit

upg update

Update an entity. Unspecified fields are preserved.

Usage

upg update <id> [options]

Arguments

<id>
ID of the entity to update

Options

--file <path>
Path to .upg file
--title <title>
New title
--description <desc>
New description
--status <status>
New status
--tags <list>
Comma-separated tags. Replaces existing
--data <json>
Type-specific fields as JSON. Merged into existing

Examples

Move an entity to shipped

upg update n_Kg19aubWwbwm7V5t --status shipped

Output

Updated: feature "Guest checkout"

Rename and re-describe

upg update node_abc123 --title "Dark theme" --description "System-aware theme switch"

Related

upg createupg deleteupg connect