diff --git a/airflow-core/src/airflow/cli/commands/dag_command.py b/airflow-core/src/airflow/cli/commands/dag_command.py index f4b6b9ff5f527..b6688643c5d29 100644 --- a/airflow-core/src/airflow/cli/commands/dag_command.py +++ b/airflow-core/src/airflow/cli/commands/dag_command.py @@ -732,6 +732,7 @@ def dag_report(args) -> None: ) +@deprecated_for_airflowctl("airflowctl jobs list") @cli_utils.action_cli @suppress_logs_and_warning @providers_configuration_loaded diff --git a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py index 6b3cc796e3e6d..86c57e6fdefc9 100644 --- a/airflow-core/tests/unit/cli/commands/test_command_deprecations.py +++ b/airflow-core/tests/unit/cli/commands/test_command_deprecations.py @@ -55,6 +55,7 @@ (dag_command.dag_pause, "airflowctl dags pause"), (dag_command.dag_unpause, "airflowctl dags unpause"), (dag_command.dag_list_import_errors, "airflowctl dags list-import-errors"), + (dag_command.dag_list_jobs, "airflowctl jobs list"), (dag_command.dag_state, "airflowctl dags state"), (dag_command.dag_next_execution, "airflowctl dags next-execution"), (pool_command.pool_list, "airflowctl pools list"),