potiuk opened a new issue, #33958:
URL: https://github.com/apache/airflow/issues/33958

   ### Body
   
   When you have two option with the same short flag - in the same command, 
only one can be used - for example before 
https://github.com/apache/airflow/pull/33957 `static-checks -t` yielded 
`--image-tag` not `--static-checks`.
   
   We should check if any of the commands of breeze has such flag duplicated. 
   
   This should be done in the place where we calculate hash from the context 
dictionary in setup_commands.py:
   
   ```
   def get_command_hash_export() -> str:
       import rich_click
   
       hashes = []
       with Context(main) as ctx:
           the_context_dict = ctx.to_info_dict()
   ```
   
   This is used in `breeze setup regenerate-command-images` and the 
`the_context_dict` contains information about all commands and their flags, so 
we should be able to easily check if some flags are duplicated in all commands.
   
   
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


-- 
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