Skip to content

from @unified-product-graph/cli · Cloud

upg push

Push the local graph to cloud.

Usage

upg push [options]

Options

--file <path>
Path to .upg file
--endpoint <url>
Cloud endpoint. Defaults to stored value
--strategy <s>
create_new (default) | merge | replace
--product-id <id>
Push to an existing cloud product
--dry-run
Preview the push. Skips the upload

Examples

Push the local graph as a new cloud product

upg push

Output


  Checkout Redesign → https://cloud.unifiedproductgraph.org
  42 nodes, 73 edges, strategy: create_new

  ✓ Pushed to cloud

  Product   prod_8Hq2Lm
  Nodes     +42
  Edges     +73
  Sync      product.upg-sync

Merge into an existing cloud product

upg push --product-id prod_123 --strategy merge

Preview what would be pushed

upg push --dry-run

Related

upg pullupg loginupg products