kafka-ops / julie

A solution to help you build automation and gitops in your Apache Kafka deployments. The Kafka gitops!
MIT License
420 stars 114 forks source link

Add tab autocomplete for julie-ops cli #500

Closed Fobhep closed 2 years ago

Fobhep commented 2 years ago
Fobhep commented 2 years ago

@purbon I got annoyed typing the params all the time so I hacked this together. :stuck_out_tongue: Wdyt? :)

purbon commented 2 years ago

awesome, I love it!

only question, would that work for zsh as well? only selfish asking ;-)

Fobhep commented 2 years ago

awesome, I love it!

only question, would that work for zsh as well? only selfish asking ;-)

tbh - I don't use zsh :D so probably one should test it ;)

Fobhep commented 2 years ago

also could I ask you to test the packaging also - not sure I covered everything correctly in the pom file

purbon commented 2 years ago

ok, before merge I will test probably tomorrow!

purbon commented 2 years ago

i do zsh, so i'm good for testing both !

purbon commented 2 years ago

thanks a lot again

Fobhep commented 2 years ago

giving it a little look - I think for zsh we might need to amend this more :thinking:

Fobhep commented 2 years ago

https://stackoverflow.com/questions/3249432/can-a-bash-tab-completion-script-be-used-in-zsh

purbon commented 2 years ago

sorry for the long delay on merging this @Fobhep, thanks as always for your contributions!