haiti
haiti copied to clipboard
shell completion
generate shell / tab completion for the CLI tool
ideas:
- https://github.com/DannyBen/completely
- https://github.com/drnic/tabtab
Hey, can I work on this one?
@pypas Yes please, it would be greatly appreciated!
Hey @noraj sorry, after taking a look at it couldn't figure out a nice solution for this one
@pypas I understand, no worry, this is not an easy task.
I just found https://github.com/crdx/docopt-compgen and I am able to generate something with haiti --help | tail +3 | docopt-compgen
but it would work only for bash.
https://github.com/Infinidat/infi.docopt_completion would certainly work too since the help message is quiet language agnostic but this one works also for zsh. However it seems a bit abandoned.