Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.

from @unified-product-graph/cli · Graph

upg clone

Scaffold a structure from a template product, optionally scoped to a region.

Usage

upg clone <from-product> [options]

Arguments

<from-product>
Template product to scaffold from

Options

--file <path>
Path to .upg file
--into <product>
Target product (else active)
--region <id>
Only clone a region
--dry-run
Preview
-y, --yes
Skip confirmation
--json
Machine-readable JSON output

Examples

Preview scaffolding from a template

upg clone template --into my-product --dry-run

Related

upg workspaceupg create