-
Notifications
You must be signed in to change notification settings - Fork 385
Description
See e.g. https://github.com/hhatto/zsh_completions/blob/master/_invoke for a zsh completion somebody wrote for Invoke as-is. My ideas for this (on top of whatever is in Fabric #6) is to use Invoke's existing parser to print easily computer readable info, e.g.:
[12:56:44] instead, output the flags/opts in a manner that is easier to parse, ditto for subcommand list
[12:56:51] and, I assume zsh supports this, the flags for each subcommand as well
[12:57:28] So one can: inv <tab, see flags/commands> mycom<tab, completes 'mycommand'> <tab, see 'mycommand' specific flags>
[12:58:17] So as long as I can make it easy to do stuff like 'inv --opts' or 'inv --opts ' or a more computer-formatted 'inv --list'...anybody who knows their shell's completion setup can adapt that info