nandakumar131 commented on PR #8030:
URL: https://github.com/apache/ozone/pull/8030#issuecomment-2719932263

   Thanks @errose28 for taking a look at it.
   Before I started working on this, I analyzed few existing scripts/programs 
that generated auto completion script. As you have pointed out, almost all of 
them have option to specify the shell type for which the completion should be 
generated. 
   
   But we don't have that facility in [picocli](https://picocli.info/). Picocli 
doesn't provide option to generate different completion script for different 
shells.
   
   It only has support to generate bash-completion which is also compatible 
with zsh. 
   [picocli.info/autocomplete](https://picocli.info/autocomplete.html)
   > Starting from version 1.0.0, picocli-based applications can have command 
line completion in Bash or ZSH Unix shells.
   
   We can add an argument to our code which can accept either `bash` or `zsh` 
as value, but in both the cases the same completion script will be generated. 
Having option to specify the shell type doesn't add any value to the completion 
script generation.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to