Complete the code to list all DAGs using the Airflow CLI.
airflow [1] listThe command airflow dags list lists all DAGs available in Airflow.
Complete the command to trigger a DAG run named 'example_dag'.
airflow dags [1] example_dagThe trigger command starts a DAG run immediately.
Fix the error in the command to view logs of a task instance for DAG 'example_dag', task 'task1', run on '2023-01-01'.
airflow tasks [1] example_dag task1 2023-01-01
The correct subcommand to view logs is logs (plural).
Fill both blanks to list all tasks of DAG 'example_dag' for run date '2023-01-01'.
airflow tasks [1] example_dag --[2] 2023-01-01
The list command shows tasks, and --execution_date specifies the run date.
Fill all three blanks to clear task instances for DAG 'example_dag', task 'task1', on date '2023-01-01' with confirmation skipped.
airflow tasks [1] example_dag task1 --[2] 2023-01-01 --[3]
The clear command clears task instances, --execution_date specifies the date, and --yes skips confirmation.