airflow tasks list <dag_id>

List the tasks within a DAG

Arguments

NameDescription
dag_idThe id of the dag

Options

NameDescription
-h, --helpShow this help message and exit
-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'
-t, --treeTree view
-v, --verboseMake logging output more verbose