commando
commando copied to clipboard
How to write shell completion function in Go
For example the following is a zsh completion function for command foo:
#compdef _foo foo
compadd first second third fourth
So, if we type foo <tab> in the zsh terminal, it suggests first second third fourth.
How can I do this using commando?
@blueray453 This is a very small library. There is no functionality such as this at the moment.
Thanks @thatisuday. Should I close this issue or keep it open?
@blueray453 Planning to implement this in V2 of the library. So keeping it open.