4 ms·
I actually wrote a library that generates completions for both zsh and bash for the Ruby Thor CLI library. https://github.com/snowe2010/fylla/ https://github.co
by snowe2010 7y ago
I actually wrote a library that generates completions for both zsh and bash for the Ruby Thor CLI library. https://github.com/snowe2010/fylla/ https://github.com/snowe2010/fylla/
This could be useful in research to make it work for clap.
I wrote two articles that kind of highlight the differences in completions between the two, but only in regards to subcommands, since that's what I was trying to cover.
https://tylerthrailkill.com/2019-01-19/writing-bash-completion-script-with-subcommands/ https://tylerthrailkill.com/2019-01-19/writing-bash-completi...
https://tylerthrailkill.com/2019-01-13/writing-zsh-completion-scripts/ https://tylerthrailkill.com/2019-01-13/writing-zsh-completio...