Bowrna edited a comment on issue #19967:
URL: https://github.com/apache/airflow/issues/19967#issuecomment-987660387


   @potiuk I have tried the above 
https://click.palletsprojects.com/en/7.x/bashcomplete/#activation-script script 
generation part and it works for me. Do I have to add that as the python script 
that generates autocompletion script in pre_commit like what is there for 
update-version? (like the one shown below) 
   
https://github.com/apache/airflow/blob/cc3f038aede71d54e66cce37fe5ce1d4ec5a86e4/.pre-commit-config.yaml#L357
   
   Also, you have mentioned that in pre-commit we should simply run generation 
of the scripts whenever the dev/breeze/src/airflow_breeze.py changes. How could 
I find out there are changes in this script file?
   
    The python script functionality would be to regenerate 
<Breeze2-complete>.bash/.zsh/.fsh and update in 
.zshrc/.bashrc/`~/.config/fish/completions/` file
   
   I want to know if the first time generated <Breeze2-complete>.bash/.zsh/.fsh 
should be committed as part of the repository.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to