Skip to main content
View as Markdown

Import CLI Commands

Manage import in your EventCatalog from the command line.

import

Import EventCatalog DSL (.ec) files into catalog markdown files. Existing resources with the same version are overridden. Importing a newer version automatically moves the old version into the versioned/ folder.

Arguments:

NameTypeRequiredDescription
filesstringNoOne or more .ec file paths to import
stdinbooleanNoRead DSL from stdin
dry-runbooleanNoPreview resources without writing
no-initbooleanNoSkip catalog initialization prompt