Data Products CLI Commands
Manage data products in your EventCatalog from the command line.
getDataProduct​
Returns a data product from EventCatalog by its ID
Arguments:
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID of the data product to retrieve |
| version | string | No | Specific version to retrieve |
Examples:
# Get the latest data product
npx @eventcatalog/cli getDataProduct "customer-360"
# Get a specific version
npx @eventcatalog/cli getDataProduct "customer-360" "1.0.0"