Run a single DAG in a local Airflow environment and see task success or failure in your terminal. This command compiles your DAG and runs it in a single Airflow worker container based on your Astro project configurations.
For more information, see Run a DAG with Astro Run.
astro run <dag-id>
|Path to an alternative environment variable file. The default is ||Any valid filepath.|
|Build your Astro project into a Docker image without using cache.||None.|
|An alternative settings file from which Airflow objects are imported. The default is ||Any valid filepath.|
# Run a DAG with an alternative set of environment variables
$ astro run example_dag_basic --env dev.env