list
Contents
Usage
$ airflow dags list [-h] [-o table, json, yaml, plain]
[-S SUBDIR] [-v]
Arguments
| Parameter | Description |
|---|---|
-S, --subdir |
File or directory location for DAGs. Defaults to |
-h, --help |
Print out the help manual for this command |
-v, --verbose |
Make logging output more verbose |
-y, --yes |
Do not prompt for confirmation |
Examples
To get the list of DAGs, run:
$ airflow dags list
Output example:
dag_id | filepath | owner | paused
========================================================+=========================================================================+=========+=======
adcm_check | adcm_check.py | airflow | True
dataset_consumes_1 | /opt/airflow/lib/python3.10/site-packages/airflow/example_dags/example_ | airflow | True
| datasets.py | |
dataset_consumes_1_and_2 | /opt/airflow/lib/python3.10/site-packages/airflow/example_dags/example_ | airflow | True
| datasets.py | |
dataset_consumes_1_never_scheduled | /opt/airflow/lib/python3.10/site-packages/airflow/example_dags/example_ | airflow | True
| datasets.py | |
dataset_consumes_unknown_never_scheduled | /opt/airflow/lib/python3.10/site-packages/airflow/example_dags/example_ | airflow | True