skupperproject / skupper

Skupper is an implementation of a Virtual Application Network, enabling rich hybrid cloud communication.
http://skupper.io
Apache License 2.0
592 stars 73 forks source link

CLI - Add completion script for zsh #582

Open hguerrero opened 3 years ago

hguerrero commented 3 years ago

Currently, the completion command only generates bash script, for people using ZSH there should be an option to either make the script multi-shell or allow to output different scripts for each shell.

agagliardi commented 1 year ago

I'm not sure that bash completion has been fully implemented either (#574 ). Otherwise it can be used with ZSH and some bash completion compatibility plugin/module. Moreover, it seems it uses Go Cobra [1] that supports also ZSH.

[1] https://github.com/skupperproject/skupper/blob/b18f1105d81affd484f80054b6ed4686c9a14608/cmd/skupper/skupper.go#L908-L927