cli icon indicating copy to clipboard operation
cli copied to clipboard

How to write shell completion function in Go

Open blueray453 opened this issue 5 years ago • 0 comments

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 cli?

blueray453 avatar Sep 09 '20 19:09 blueray453