This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new c116edcd5c7 Fix `breeze setup autocomplete` references (#58898)
c116edcd5c7 is described below
commit c116edcd5c79e30fe7a86a31f4562ca8fa67c125
Author: Bartosz Sławecki <[email protected]>
AuthorDate: Tue Dec 2 00:45:03 2025 +0100
Fix `breeze setup autocomplete` references (#58898)
* Fix `setup autocomplete` invocation
* Correct autocomplete command tip
---
dev/breeze/doc/01_installation.rst | 2 +-
dev/breeze/src/airflow_breeze/utils/visuals.py | 2 +-
scripts/tools/setup_breeze | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev/breeze/doc/01_installation.rst
b/dev/breeze/doc/01_installation.rst
index 56b0be3c023..6f5910f9c3f 100644
--- a/dev/breeze/doc/01_installation.rst
+++ b/dev/breeze/doc/01_installation.rst
@@ -430,7 +430,7 @@ also force reinstalling the autocomplete via:
breeze setup autocomplete --force
-These are all available flags of ``setup-autocomplete`` command:
+These are all available flags of ``setup autocomplete`` command:
.. image:: ./images/output_setup_autocomplete.svg
:target:
https://raw.githubusercontent.com/apache/airflow/main/dev/breeze/images/output_setup_autocomplete.svg
diff --git a/dev/breeze/src/airflow_breeze/utils/visuals.py
b/dev/breeze/src/airflow_breeze/utils/visuals.py
index 36b0cbba9c6..996c8f65531 100644
--- a/dev/breeze/src/airflow_breeze/utils/visuals.py
+++ b/dev/breeze/src/airflow_breeze/utils/visuals.py
@@ -126,7 +126,7 @@ CHEATSHEET = f"""
integration or starting complete Airflow using `start-airflow` command as
well as ways
of cleaning up the installation.
- Make sure to run `setup-autocomplete` to get the commands and options
auto-completable
+ Make sure to run `breeze setup autocomplete` to get the commands and
options auto-completable
in your shell.
You can disable this cheatsheet by running:
diff --git a/scripts/tools/setup_breeze b/scripts/tools/setup_breeze
index c8078887030..7b3560da242 100755
--- a/scripts/tools/setup_breeze
+++ b/scripts/tools/setup_breeze
@@ -72,7 +72,7 @@ function check_breeze_installed() {
echo
if "${MY_DIR}/confirm" "installing and modifying the startup
scripts"; then
uv tool install -e "${AIRFLOW_SOURCES}/dev/breeze/" --force
- ${BREEZE_BINARY} setup-autocomplete --force --answer yes
+ ${BREEZE_BINARY} setup autocomplete --force --answer yes
echo
echo "${COLOR_YELLOW}Please close and re-open the shell and
retry. Then rerun your last command!${COLOR_RESET}"
echo