airflow dags test  <dag_id> [execution_date]
Execute one single DagRun
Arguments
| Name | Description | 
|---|
| dag_id | The id of the dag | 
| execution_date | The execution date of the DAG (optional) | 
Options
| Name | Description | 
|---|
| -h, --help | Show this help message and exit | 
| -c, --conf  <conf> | JSON string that gets pickled into the DagRun's conf attribute | 
| --imgcat-dagrun | After completing the dag run, prints a diagram on the screen for the current DAG Run using the imgcat tool. | 
| --save-dagrun  <save_dagrun> | After completing the backfill, saves the diagram for current DAG Run to the indicated file. | 
| --show-dagrun | After completing the backfill, shows the diagram for current DAG Run.
The diagram is in DOT language | 
| -S, --subdir  <subdir> | File location or directory from which to look for the dag. Defaults to '[AIRFLOW_HOME]/dags' where [AIRFLOW_HOME] is the value you set for 'AIRFLOW_HOME' config you set in 'airflow.cfg' |