Skip to content

from @unified-product-graph/cli · Cloud

upg pull

Pull cloud changes into the local .upg file.

Usage

upg pull [options]

Options

--file <path>
Path to .upg file
--endpoint <url>
Cloud endpoint. Defaults to stored value
--product-id <id>
Cloud product ID to pull from
--force
Overwrite local with cloud. Skips merge

Examples

Pull a cloud product into the local file

upg pull --product-id prod_8Hq2Lm

Output


  ✓ Compared local and cloud

  Local        42 nodes
  New on cloud 5
  Mapped       42

  Use --force to overwrite local with cloud state.

Overwrite local with the cloud version

upg pull --product-id prod_123 --force

Related

upg pushupg loginupg products