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 workspace

Workspace actions: list (default), switch <name>, rekind --kind <kind> <file...>.

Usage

upg workspace [action] [items...]

Arguments

[action]
list (default), switch, or rekind
[items...]
Product name for switch, or one or more .upg files for rekind

Options

--kind <kind>
For rekind: product | org_rollup | watched | operating_function
--json
Machine-readable JSON output (rekind)

Examples

List products in the workspace

upg workspace

Output


Workspace: 2 product(s)

  Checkout Redesign  checkout-redesign.upg (active)
  Mobile Companion  mobile-companion.upg

Switch the active product

upg workspace switch mobile-companion

Bulk-set member_kind on graphs (to create a new product, use `upg init --workspace`)

upg workspace rekind --kind watched .upg/competitor-*.upg

Related

upg initupg productupg list