This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 6d0e30ef0fc [v3-1-test] Make click group naming consistent - all 
contain now _group suffix (#58677) (#58699)
6d0e30ef0fc is described below

commit 6d0e30ef0fcb16f446bb695fb01efe1151474d4a
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Nov 26 01:48:17 2025 +0100

    [v3-1-test] Make click group naming consistent - all contain now _group 
suffix (#58677) (#58699)
    
    (cherry picked from commit 2866191e754fb1afcd6e985968047b9197996aa7)
---
 dev/breeze/src/airflow_breeze/breeze.py            | 28 +++++------
 .../airflow_breeze/commands/ci_image_commands.py   | 16 +++----
 .../commands/minor_release_command.py              |  4 +-
 .../commands/production_image_commands.py          | 12 ++---
 .../commands/release_candidate_command.py          |  6 +--
 .../src/airflow_breeze/commands/release_command.py |  4 +-
 .../commands/release_management_commands.py        | 54 +++++++++++-----------
 .../commands/release_management_group.py           |  2 +-
 .../src/airflow_breeze/commands/sbom_commands.py   | 16 +++++--
 .../src/airflow_breeze/commands/setup_commands.py  | 16 +++----
 .../airflow_breeze/commands/testing_commands.py    | 26 +++++------
 .../airflow_breeze/commands/workflow_commands.py   |  4 +-
 12 files changed, 98 insertions(+), 90 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/breeze.py 
b/dev/breeze/src/airflow_breeze/breeze.py
index c79a0fb1b24..41680914d9b 100755
--- a/dev/breeze/src/airflow_breeze/breeze.py
+++ b/dev/breeze/src/airflow_breeze/breeze.py
@@ -18,7 +18,7 @@
 from __future__ import annotations
 
 from airflow_breeze.commands.main_command import main
-from airflow_breeze.commands.workflow_commands import workflow_run
+from airflow_breeze.commands.workflow_commands import workflow_run_group
 from airflow_breeze.utils.path_utils import (
     create_directories_and_files,
     find_airflow_root_path_to_operate_on,
@@ -32,27 +32,27 @@ create_directories_and_files()
 
 from airflow_breeze.commands import developer_commands  # noqa: I001, E402, 
F401
 from airflow_breeze.commands.ci_commands import ci_group  # noqa: E402
-from airflow_breeze.commands.ci_image_commands import ci_image  # noqa: E402
+from airflow_breeze.commands.ci_image_commands import ci_image_group  # noqa: 
E402
 from airflow_breeze.commands.kubernetes_commands import kubernetes_group  # 
noqa: E402
-from airflow_breeze.commands.production_image_commands import prod_image  # 
noqa: E402
+from airflow_breeze.commands.production_image_commands import prod_image_group 
 # noqa: E402
 from airflow_breeze.commands.minor_release_command import 
create_minor_version_branch  # noqa: E402, F401
 from airflow_breeze.commands.release_command import airflow_release  # noqa: 
E402, F401
-from airflow_breeze.commands.release_candidate_command import 
release_management  # noqa: E402
-from airflow_breeze.commands.sbom_commands import sbom  # noqa: E402
-from airflow_breeze.commands.setup_commands import setup  # noqa: E402
-from airflow_breeze.commands.testing_commands import group_for_testing  # 
noqa: E402
+from airflow_breeze.commands.release_candidate_command import 
release_management_group  # noqa: E402
+from airflow_breeze.commands.sbom_commands import sbom_group  # noqa: E402
+from airflow_breeze.commands.setup_commands import setup_group  # noqa: E402
+from airflow_breeze.commands.testing_commands import testing_group  # noqa: 
E402
 from airflow_breeze.commands.ui_commands import ui_group  # noqa: E402
 
-main.add_command(group_for_testing)
+main.add_command(testing_group)
 main.add_command(kubernetes_group)
 main.add_command(ci_group)
-main.add_command(ci_image)
-main.add_command(prod_image)
-main.add_command(setup)
-main.add_command(release_management)
-main.add_command(sbom)
+main.add_command(ci_image_group)
+main.add_command(prod_image_group)
+main.add_command(setup_group)
+main.add_command(release_management_group)
+main.add_command(sbom_group)
 main.add_command(ui_group)
-main.add_command(workflow_run)
+main.add_command(workflow_run_group)
 
 if __name__ == "__main__":
     main()
diff --git a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py 
b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
index 71655db360b..42a77bf2569 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -125,7 +125,7 @@ if TYPE_CHECKING:
 @click.group(
     cls=BreezeGroup, name="ci-image", help="Tools that developers can use to 
manually manage CI images"
 )
-def ci_image():
+def ci_image_group():
     pass
 
 
@@ -235,7 +235,7 @@ option_ci_image_file_to_load = click.option(
 )
 
 
-@ci_image.command(name="build")
+@ci_image_group.command(name="build")
 @option_additional_airflow_extras
 @option_additional_dev_apt_command
 @option_additional_dev_apt_deps
@@ -404,7 +404,7 @@ def build(
         run_build(ci_image_params=base_build_params)
 
 
-@ci_image.command(name="pull")
+@ci_image_group.command(name="pull")
 @option_python
 @option_run_in_parallel
 @option_parallelism
@@ -512,7 +512,7 @@ def run_verify_in_parallel(
     )
 
 
-@ci_image.command(name="save")
+@ci_image_group.command(name="save")
 @option_ci_image_file_to_save
 @option_github_repository
 @option_image_file_dir
@@ -551,7 +551,7 @@ def save(
         sys.exit(result.returncode)
 
 
-@ci_image.command(name="load")
+@ci_image_group.command(name="load")
 @option_ci_image_file_to_load
 @option_dry_run
 @option_from_run
@@ -630,7 +630,7 @@ def load(
     mark_image_as_rebuilt(ci_image_params=build_ci_params)
 
 
-@ci_image.command(
+@ci_image_group.command(
     name="verify",
     context_settings=dict(
         ignore_unknown_options=True,
@@ -915,7 +915,7 @@ def rebuild_or_pull_ci_image_if_needed(command_params: 
ShellParams | BuildCiPara
             sys.exit(return_code)
 
 
-@ci_image.command(name="export-mount-cache")
+@ci_image_group.command(name="export-mount-cache")
 @click.option(
     "--cache-file",
     required=True,
@@ -980,7 +980,7 @@ def export_mount_cache(
     get_console().print(f"[success]Exported mount cache to {cache_file}[/]")
 
 
-@ci_image.command(name="import-mount-cache")
+@ci_image_group.command(name="import-mount-cache")
 @click.option(
     "--cache-file",
     required=True,
diff --git a/dev/breeze/src/airflow_breeze/commands/minor_release_command.py 
b/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
index 4dec224fef0..43c2fda9bf9 100644
--- a/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/minor_release_command.py
@@ -22,7 +22,7 @@ import sys
 import click
 
 from airflow_breeze.commands.common_options import option_answer, 
option_dry_run, option_verbose
-from airflow_breeze.commands.release_management_group import release_management
+from airflow_breeze.commands.release_management_group import 
release_management_group
 from airflow_breeze.utils.confirm import confirm_action
 from airflow_breeze.utils.console import console_print
 from airflow_breeze.utils.path_utils import AIRFLOW_ROOT_PATH
@@ -154,7 +154,7 @@ def create_constraints(version_branch):
             )
 
 
-@release_management.command(
+@release_management_group.command(
     name="create-minor-branch",
     help="Create a new version branch and update the default branches in main",
 )
diff --git 
a/dev/breeze/src/airflow_breeze/commands/production_image_commands.py 
b/dev/breeze/src/airflow_breeze/commands/production_image_commands.py
index 9aee7a0fa70..4a14a3d301c 100644
--- a/dev/breeze/src/airflow_breeze/commands/production_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/production_image_commands.py
@@ -181,11 +181,11 @@ option_prod_image_file_to_load = click.option(
 @click.group(
     cls=BreezeGroup, name="prod-image", help="Tools that developers can use to 
manually manage PROD images"
 )
-def prod_image():
+def prod_image_group():
     pass
 
 
-@prod_image.command(name="build")
+@prod_image_group.command(name="build")
 @click.option(
     "--installation-method",
     help="Install Airflow from: sources or PyPI.",
@@ -427,7 +427,7 @@ def build(
         run_build(prod_image_params=base_build_params)
 
 
-@prod_image.command(name="pull")
+@prod_image_group.command(name="pull")
 @option_python
 @option_run_in_parallel
 @option_parallelism
@@ -534,7 +534,7 @@ def run_verify_in_parallel(
     )
 
 
-@prod_image.command(
+@prod_image_group.command(
     name="verify",
     context_settings=dict(
         ignore_unknown_options=True,
@@ -646,7 +646,7 @@ def verify(
         sys.exit(return_code)
 
 
-@prod_image.command(name="save")
+@prod_image_group.command(name="save")
 @option_github_repository
 @option_image_file_dir
 @option_platform_single
@@ -685,7 +685,7 @@ def save(
         sys.exit(result.returncode)
 
 
-@prod_image.command(name="load")
+@prod_image_group.command(name="load")
 @option_dry_run
 @option_from_run
 @option_from_pr
diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py 
b/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py
index 5f81a334491..1f3da43717c 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_candidate_command.py
@@ -30,7 +30,7 @@ from airflow_breeze.commands.common_options import (
     option_verbose,
     option_version_suffix,
 )
-from airflow_breeze.commands.release_management_group import release_management
+from airflow_breeze.commands.release_management_group import 
release_management_group
 from airflow_breeze.global_constants import (
     TarBallType,
     get_airflow_version,
@@ -602,7 +602,7 @@ def remove_old_releases(version, repo_root):
     os.chdir(repo_root)
 
 
-@release_management.command(
+@release_management_group.command(
     name="prepare-tarball",
     help="Prepare source tarball.",
 )
@@ -637,7 +637,7 @@ def prepare_tarball(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="start-rc-process",
     short_help="Start RC process",
     help="Start the process for releasing a new RC.",
diff --git a/dev/breeze/src/airflow_breeze/commands/release_command.py 
b/dev/breeze/src/airflow_breeze/commands/release_command.py
index 04d1032f959..b05ddf92a6d 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_command.py
@@ -21,7 +21,7 @@ import os
 import click
 
 from airflow_breeze.commands.common_options import option_answer, 
option_dry_run, option_verbose
-from airflow_breeze.commands.release_management_group import release_management
+from airflow_breeze.commands.release_management_group import 
release_management_group
 from airflow_breeze.utils.confirm import confirm_action
 from airflow_breeze.utils.console import console_print
 from airflow_breeze.utils.path_utils import AIRFLOW_ROOT_PATH
@@ -265,7 +265,7 @@ def push_tag_for_final_version(version, release_candidate, 
task_sdk_version=None
         run_command(["git", "push", "origin", "tag", 
f"task-sdk/{task_sdk_version}"], check=True)
 
 
-@release_management.command(
+@release_management_group.command(
     name="start-release",
     short_help="Start Airflow release process",
     help="Start the process of releasing an Airflow version. "
diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py 
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index c27775f138b..dbf0efe3859 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -88,7 +88,7 @@ from 
airflow_breeze.commands.common_package_installation_options import (
     option_providers_skip_constraints,
     option_use_distributions_from_dist,
 )
-from airflow_breeze.commands.release_management_group import release_management
+from airflow_breeze.commands.release_management_group import 
release_management_group
 from airflow_breeze.global_constants import (
     ALL_PYTHON_VERSION_TO_PATCHLEVEL_VERSION,
     ALLOWED_DEBIAN_VERSIONS,
@@ -531,7 +531,7 @@ def _check_sdist_to_wheel(python_path: Path, dist_info: 
DistributionPackageInfo,
     return returncode
 
 
-@release_management.command(
+@release_management_group.command(
     name="prepare-airflow-distributions",
     help="Prepare sdist/whl package of Airflow.",
 )
@@ -693,7 +693,7 @@ def _prepare_non_core_distributions(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="prepare-task-sdk-distributions",
     help="Prepare sdist/whl distributions of Airflow Task SDK.",
 )
@@ -721,7 +721,7 @@ def prepare_task_sdk_distributions(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="prepare-airflow-ctl-distributions",
     help="Prepare sdist/whl distributions of airflowctl.",
 )
@@ -757,7 +757,7 @@ def provider_action_summary(description: str, message_type: 
MessageType, package
         get_console().print()
 
 
-@release_management.command(
+@release_management_group.command(
     name="prepare-provider-documentation",
     help="Prepare CHANGELOG, README and COMMITS information for providers.",
 )
@@ -998,7 +998,7 @@ def _build_provider_distributions(
         )
 
 
-@release_management.command(
+@release_management_group.command(
     name="prepare-provider-distributions",
     help="Prepare sdist/whl distributions of Airflow Providers.",
 )
@@ -1215,7 +1215,7 @@ def run_generate_constraints_in_parallel(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="tag-providers",
     help="Generates tags for airflow provider releases.",
 )
@@ -1302,7 +1302,7 @@ def tag_providers(
                 )
 
 
-@release_management.command(
+@release_management_group.command(
     name="generate-constraints",
     help="Generates pinned constraint files with all extras from 
pyproject.toml in parallel.",
 )
@@ -1456,7 +1456,7 @@ def _run_command_for_providers(
 SDIST_INSTALL_PROGRESS_REGEXP = r"Processing .*|Requirement already 
satisfied:.*|  Created wheel.*"
 
 
-@release_management.command(
+@release_management_group.command(
     name="install-provider-distributions",
     help="Installs provider distributiobs that can be found in dist.",
 )
@@ -1608,7 +1608,7 @@ def install_provider_distributions(
         sys.exit(result_command.returncode)
 
 
-@release_management.command(
+@release_management_group.command(
     name="verify-provider-distributions",
     help="Verifies if all provider code is following expectations for 
providers.",
 )
@@ -1776,7 +1776,7 @@ def run_publish_docs_in_parallel(
             get_console().print(f"[warning]{entry}")
 
 
-@release_management.command(
+@release_management_group.command(
     name="publish-docs",
     help="Command to publish generated documentation to airflow-site",
 )
@@ -1884,7 +1884,7 @@ def publish_docs(
                 get_console().print(f"[warning]{entry}")
 
 
-@release_management.command(
+@release_management_group.command(
     name="add-back-references",
     help="Command to add back references for documentation to make it backward 
compatible.",
 )
@@ -1950,7 +1950,7 @@ def add_back_references(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="clean-old-provider-artifacts",
     help="Cleans the old provider artifacts",
 )
@@ -2063,7 +2063,7 @@ def check_skip_latest(airflow_version, skip_latest):
     return skip_latest
 
 
-@release_management.command(
+@release_management_group.command(
     name="release-prod-images", help="Release production images to DockerHub 
(needs DockerHub permissions)."
 )
 @click.option("--airflow-version", required=True, help="Airflow version to 
release (2.3.0, 2.3.0rc1 etc.)")
@@ -2221,7 +2221,7 @@ def release_prod_images(
         alias_images(airflow_version, dockerhub_repo, python_versions, 
image_prefix, skip_latest)
 
 
-@release_management.command(
+@release_management_group.command(
     name="merge-prod-images",
     help="Merge production images in DockerHub based on digest files (needs 
DockerHub permissions).",
 )
@@ -2389,7 +2389,7 @@ def create_github_issue_url(title: str, body: str, 
labels: Iterable[str]) -> str
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="generate-issue-content-providers", help="Generates content for issue 
to test the release."
 )
 @click.option("--disable-progress", is_flag=True, help="Disable progress bar")
@@ -2706,7 +2706,7 @@ def print_issue_content(
     print(content)
 
 
-@release_management.command(
+@release_management_group.command(
     name="generate-issue-content-helm-chart",
     help="Generates content for issue to test the helm chart release.",
 )
@@ -2758,7 +2758,7 @@ def generate_issue_content_helm_chart(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="generate-issue-content-core", help="Generates content for issue to 
test the core release."
 )
 @click.option(
@@ -2809,7 +2809,9 @@ def generate_issue_content_core(
     )
 
 
-@release_management.command(name="generate-providers-metadata", 
help="Generates metadata for providers.")
+@release_management_group.command(
+    name="generate-providers-metadata", help="Generates metadata for 
providers."
+)
 @click.option(
     "--refresh-constraints-and-airflow-releases",
     is_flag=True,
@@ -3015,7 +3017,7 @@ def push_constraints_and_tag(constraints_repo: Path, 
remote_name: str, airflow_v
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="update-constraints", help="Update released constraints with manual 
changes."
 )
 @click.option(
@@ -3330,7 +3332,7 @@ def _build_client_packages_with_docker(source_date_epoch: 
int, distribution_form
     run_command(["docker", "rm", "--force", container_id], check=False, 
stdout=DEVNULL, stderr=DEVNULL)
 
 
-@release_management.command(name="prepare-python-client", help="Prepares 
python client packages.")
+@release_management_group.command(name="prepare-python-client", help="Prepares 
python client packages.")
 @option_distribution_format
 @option_version_suffix
 @option_use_local_hatch
@@ -3573,7 +3575,7 @@ CHART_YAML_FILE = CHART_DIR / "Chart.yaml"
 VALUES_YAML_FILE = CHART_DIR / "values.yaml"
 
 
-@release_management.command(name="prepare-helm-chart-tarball", help="Prepares 
helm chart tarball.")
+@release_management_group.command(name="prepare-helm-chart-tarball", 
help="Prepares helm chart tarball.")
 @click.option(
     "--version",
     help="Version used for helm chart. This version has to be set and has to 
match the version in "
@@ -3752,7 +3754,7 @@ def prepare_helm_chart_tarball(
     get_console().print(f"[success]Tarball created in {final_archive}")
 
 
-@release_management.command(name="prepare-helm-chart-package", help="Prepares 
helm chart package.")
+@release_management_group.command(name="prepare-helm-chart-package", 
help="Prepares helm chart package.")
 @click.option(
     "--sign-email",
     help="Email associated with the key used to sign the package.",
@@ -3939,7 +3941,7 @@ def generate_issue_content(
     print_issue_content(current, pull_requests, linked_issues, users, 
is_helm_chart)
 
 
-@release_management.command(name="publish-docs-to-s3", help="Publishes docs to 
S3.")
+@release_management_group.command(name="publish-docs-to-s3", help="Publishes 
docs to S3.")
 @click.option(
     "--source-dir-path",
     help="Path to the directory with the generated documentation.",
@@ -4028,7 +4030,7 @@ def publish_docs_to_s3(
         sys.exit(1)
 
 
-@release_management.command(
+@release_management_group.command(
     name="constraints-version-check", help="Check constraints against released 
versions of packages."
 )
 @option_builder
@@ -4089,7 +4091,7 @@ def version_check(
     )
 
 
-@release_management.command(
+@release_management_group.command(
     name="check-release-files",
     help="Verify that all expected packages are present in Apache Airflow 
svn.",
 )
diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_group.py 
b/dev/breeze/src/airflow_breeze/commands/release_management_group.py
index cf898623d87..137548a7645 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_group.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_group.py
@@ -26,5 +26,5 @@ from airflow_breeze.utils.click_utils import BreezeGroup
     name="release-management",
     help="Tools that release managers can use to prepare and manage Airflow 
releases",
 )
-def release_management():
+def release_management_group():
     pass
diff --git a/dev/breeze/src/airflow_breeze/commands/sbom_commands.py 
b/dev/breeze/src/airflow_breeze/commands/sbom_commands.py
index 449c1b318fe..111995db18d 100644
--- a/dev/breeze/src/airflow_breeze/commands/sbom_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/sbom_commands.py
@@ -102,7 +102,7 @@ if TYPE_CHECKING:
     name="sbom",
     help="Tools that release managers can use to prepare sbom information",
 )
-def sbom():
+def sbom_group():
     pass
 
 
@@ -122,7 +122,9 @@ SBOM_INDEX_TEMPLATE = """
 """
 
 
[email protected](name="update-sbom-information", help="Update SBOM information in 
airflow-site-archive project.")
+@sbom_group.command(
+    name="update-sbom-information", help="Update SBOM information in 
airflow-site-archive project."
+)
 @click.option(
     "--airflow-site-archive-path",
     type=click.Path(file_okay=False, dir_okay=True, path_type=Path, 
exists=True),
@@ -552,7 +554,9 @@ def core_jobs(
             )
 
 
[email protected](name="build-all-airflow-images", help="Generate images with 
airflow versions pre-installed")
+@sbom_group.command(
+    name="build-all-airflow-images", help="Generate images with airflow 
versions pre-installed"
+)
 @option_historical_python_versions
 @option_verbose
 @option_dry_run
@@ -614,7 +618,9 @@ def build_all_airflow_images(
             )
 
 
[email protected](name="generate-providers-requirements", help="Generate 
requirements for selected provider.")
+@sbom_group.command(
+    name="generate-providers-requirements", help="Generate requirements for 
selected provider."
+)
 @option_historical_python_versions
 @click.option(
     "--provider-id",
@@ -767,7 +773,7 @@ def generate_providers_requirements(
             )
 
 
[email protected](name="export-dependency-information", help="Export dependency 
information from SBOM.")
+@sbom_group.command(name="export-dependency-information", help="Export 
dependency information from SBOM.")
 @option_airflow_version
 @option_python
 @click.option(
diff --git a/dev/breeze/src/airflow_breeze/commands/setup_commands.py 
b/dev/breeze/src/airflow_breeze/commands/setup_commands.py
index e7d39780241..2d0424efe2f 100644
--- a/dev/breeze/src/airflow_breeze/commands/setup_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/setup_commands.py
@@ -68,7 +68,7 @@ from airflow_breeze.utils.visuals import ASCIIART, 
ASCIIART_STYLE
 
 
 @click.group(cls=BreezeGroup, name="setup", help="Tools that developers can 
use to configure Breeze")
-def setup():
+def setup_group():
     pass
 
 
@@ -79,7 +79,7 @@ def setup():
     help="Use current workdir Airflow sources for upgrade"
     + (f" rather than {get_installation_airflow_sources()}." if not 
generating_command_images() else "."),
 )
[email protected](
+@setup_group.command(
     name="self-upgrade",
     help=f"Self upgrade Breeze. By default it re-installs Breeze from 
{get_installation_airflow_sources()}."
     if not generating_command_images()
@@ -98,7 +98,7 @@ def self_upgrade(use_current_airflow_sources: bool):
         sys.exit(1)
 
 
[email protected](name="autocomplete")
+@setup_group.command(name="autocomplete")
 @click.option(
     "-f",
     "--force",
@@ -163,7 +163,7 @@ def autocomplete(force: bool):
         sys.exit(0)
 
 
[email protected]()
+@setup_group.command()
 @option_verbose
 @option_dry_run
 def version():
@@ -182,7 +182,7 @@ def version():
         )
 
 
[email protected](name="config")
+@setup_group.command(name="config")
 @option_python
 @option_backend
 @option_postgres_version
@@ -668,7 +668,7 @@ def check_that_all_params_are_in_groups(commands: 
tuple[str, ...]) -> int:
     return 1 if errors_detected else 0
 
 
[email protected](name="regenerate-command-images", help="Regenerate breeze 
command images.")
+@setup_group.command(name="regenerate-command-images", help="Regenerate breeze 
command images.")
 @click.option("--force", is_flag=True, help="Forces regeneration of all 
images", envvar="FORCE")
 @click.option(
     "--check-only",
@@ -693,7 +693,7 @@ def regenerate_command_images(command: tuple[str, ...], 
force: bool, check_only:
     sys.exit(return_code)
 
 
[email protected](name="check-all-params-in-groups", help="Check that all 
parameters are put in groups.")
+@setup_group.command(name="check-all-params-in-groups", help="Check that all 
parameters are put in groups.")
 @click.option(
     "--command",
     help="Command(s) to regenerate images for (optional, might be repeated)",
@@ -725,7 +725,7 @@ def _insert_documentation(file_path: Path, content: 
list[str], header: str, foot
     file_path.write_text(src)
 
 
[email protected](
+@setup_group.command(
     name="synchronize-local-mounts",
     help="Synchronize local mounts between python files and docker compose 
yamls.",
 )
diff --git a/dev/breeze/src/airflow_breeze/commands/testing_commands.py 
b/dev/breeze/src/airflow_breeze/commands/testing_commands.py
index ff078f60d20..614f00fc653 100644
--- a/dev/breeze/src/airflow_breeze/commands/testing_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/testing_commands.py
@@ -114,11 +114,11 @@ logs_already_dumped = False
 
 
 @click.group(cls=BreezeGroup, name="testing", help="Tools that developers can 
use to run tests")
-def group_for_testing():
+def testing_group():
     pass
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="docker-compose-tests",
     context_settings=dict(
         ignore_unknown_options=True,
@@ -596,7 +596,7 @@ option_skip_docker_compose_deletion = click.option(
 )
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="core-tests",
     help="Run all (default) or specified core unit tests.",
     context_settings=dict(
@@ -658,7 +658,7 @@ def core_tests(**kwargs):
     )
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="providers-tests",
     help="Run all (default) or specified Providers unit tests.",
     context_settings=dict(
@@ -716,7 +716,7 @@ def providers_tests(**kwargs):
     _run_test_command(test_group=GroupOfTests.PROVIDERS, integration=(), 
**kwargs)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="task-sdk-tests",
     help="Run task-sdk tests - all task SDK tests are non-DB bound tests.",
     context_settings=dict(
@@ -777,7 +777,7 @@ def task_sdk_tests(**kwargs):
     )
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="task-sdk-integration-tests",
     context_settings=dict(
         ignore_unknown_options=True,
@@ -831,7 +831,7 @@ def task_sdk_integration_tests(
     sys.exit(return_code)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="airflow-ctl-integration-tests",
     context_settings=dict(
         ignore_unknown_options=True,
@@ -887,7 +887,7 @@ def airflowctl_integration_tests(
     sys.exit(return_code)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="airflow-ctl-tests",
     help="Run airflow-ctl tests - all airflowctl tests are non-DB bound 
tests.",
     context_settings=dict(
@@ -921,7 +921,7 @@ def airflow_ctl_tests(python: str, parallelism: int, 
extra_pytest_args: tuple):
         sys.exit(result.returncode)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="core-integration-tests",
     help="Run the specified integration tests.",
     context_settings=dict(
@@ -1002,7 +1002,7 @@ def core_integration_tests(
     sys.exit(returncode)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="providers-integration-tests",
     help="Run the specified integration tests.",
     context_settings=dict(
@@ -1083,7 +1083,7 @@ def integration_providers_tests(
     sys.exit(returncode)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="system-tests",
     help="Run the specified system tests.",
     context_settings=dict(
@@ -1186,7 +1186,7 @@ def system_tests(
     sys.exit(returncode)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="helm-tests",
     help="Run Helm chart tests.",
     context_settings=dict(
@@ -1244,7 +1244,7 @@ def helm_tests(
     sys.exit(result.returncode)
 
 
-@group_for_testing.command(
+@testing_group.command(
     name="python-api-client-tests",
     help="Run python api client tests.",
     context_settings=dict(
diff --git a/dev/breeze/src/airflow_breeze/commands/workflow_commands.py 
b/dev/breeze/src/airflow_breeze/commands/workflow_commands.py
index 4633f1e31b1..b1ff6ffd3d7 100644
--- a/dev/breeze/src/airflow_breeze/commands/workflow_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/workflow_commands.py
@@ -42,11 +42,11 @@ APACHE_AIRFLOW_SITE_ARCHIVE_REPO = 
"apache/airflow-site-archive"
 
 
 @click.group(cls=BreezeGroup, name="workflow-run", help="Tools to manage 
Airflow repository workflows ")
-def workflow_run():
+def workflow_run_group():
     pass
 
 
-@workflow_run.command(name="publish-docs", help="Trigger publish docs to S3 
workflow")
+@workflow_run_group.command(name="publish-docs", help="Trigger publish docs to 
S3 workflow")
 @click.option(
     "--ref",
     help="Git reference tag to checkout to build documentation.",

Reply via email to