Open james-nesbitt opened 7 years ago
The CLI uses a common golang cli helper base : https://github.com/urfave/cli
This helper already provides some functionality for bash completion (https://github.com/urfave/cli#bash-completion) but we have not implemented that.
That said, there is a limit to what completion we should offer, and that limit is not clear yet.
For example, good completions would be:
Wheras risky completions would be:
Unfortunately ZSH completion won't be as easy for us, but we can try to get it integrated at some point.
it appears that the newer versions of our cli have an abstraction for code completion. We can now assign completion functions to each command, which means that we can probably more easily write zsh-completion.
Our upsrtream CLI library definitely supports zsh and bash completion. What is the priority on this task?
This is nice to have, but only after we have stable local development environments up and running.
I agree with Janne here. For longer run this is important but for now let's concentrate on getting the MVP out :)
Most tools provide at least bash completion these days. Some ZSH completion would be a high priority for us in wunder.