Skip to content

from @unified-product-graph/cli · Graph

upg export

Export entities as JSON, Markdown, or CSV.

Usage

upg export [options]

Options

--file <path>
Path to .upg file
--format <fmt>
json | md | csv. Defaults to json
--type <type>
Filter by entity type

Examples

Export the graph as Markdown

upg export --format md

Output

## feature (3)

- **Guest checkout**: Buy without creating an account
- **One-click reorder**: Re-purchase a previous order in one tap
- **Saved payment methods**

## opportunity (1)

- **Reduce cart abandonment**: Fewer drop-offs at the payment step

## persona (1)

- **Returning shopper**

Export features as CSV

upg export --format csv --type feature

Related

upg importupg listupg init