Skip to main content
Version: Next

dag-generate

Synopsis​

starlake dag-generate [options]

Description​

Generate Airflow or Dagster DAG files from Starflow task and domain definitions. The command analyzes SQL dependencies to produce correctly ordered workflow graphs, with optional tag filtering. See Orchestration Guide.

Parameters​

ParameterCardinalityDescription
--cleanOptionalClean Resulting DAG file output first ?
--domainsOptionalWhether to generate DAG file(s) for domains or not
--outputDir <value>OptionalPath for saving the resulting DAG file(s).
--reportFormat <value>OptionalReport format: console, json, html
--tags <value>OptionalGenerate for these tags only
--tasksOptionalWhether to generate DAG file(s) for tasks or not
--withRolesOptionalGenerate role definitions