potiuk commented on issue #6881: [AIRFLOW-6326] Sort cli commands and arg
URL: https://github.com/apache/airflow/pull/6881#issuecomment-571032638
 
 
   @zhongjiajie : I think it will be best if sort according to long option only 
(especially if we fix the short options to be one-letter). General idea behind 
long options is that people - when learning CLI tend to use longer options and 
they are preferred in automation/scripts. They are easier to memorize and they 
carry the meaning. Also when using autocomplete, it is much easier to learn as 
you start using longer option prefix and it gets auto-completed.
   
   The short (one letter) options are for "expert mode" only and they are 
pretty much just a shorthand if you get familiar with the CLI and want to use 
it quickly / have no autocomplete and you are very familiar with the tool 
itself.
   
   That's why i prefer to sort only on long options.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to