Re:OpenAutoComplete: Shell-agnostic, cross-platform autocomp...
by GamePad64 on Thursday May 21, 2020 @04:43AM
(#23256165)
Nope, it is not purely static. It is static-first (declarative), bot running a command and parsing its output or delegating the completion to some shell code is a planned feature.
[ Parent
| on HN ]
Re:OpenAutoComplete: Shell-agnostic, cross-platform autocomp...
by irq-1 on Thursday May 21, 2020 @09:15AM
(#23257938)
You could make it dynamic with "bin -OpenAutoComplete" to have the binary output the Json. This would allow gradual introduction and backwards compatibility. It would also keep the completions up to date with binary versions, and still allow a shell to cache the Json.
More importantly, you should consider other metadata before you go to far; binaries could carry their own documentation, licensing, dependencies... What should be in and out of scope?