Skip to main content

Utilities CLI Commands

Manage utilities in your EventCatalog from the command line.

dumpCatalog​

Dumps the entire catalog to a JSON structure

Arguments: None

Examples:

# Dump entire catalog
npx @eventcatalog/sdk dumpCatalog

# Dump and save to file
npx @eventcatalog/sdk dumpCatalog > catalog.json

getEventCatalogConfigurationFile​

Returns the EventCatalog configuration file

Arguments: None

Examples:

# Get config file
npx @eventcatalog/sdk getEventCatalogConfigurationFile