3 ms·
So wouldn't a better solution be to make a nicer DSL for describing shell completions which is then translated into zsh, fish, etc. completions? Agree RE bash
by gtf21 5y ago
So wouldn't a better solution be to make a nicer DSL for describing shell completions which is then translated into zsh, fish, etc. completions?
Agree RE bash but at some point doesn't one just use the tool with the featureset one wants?
- mschrage 5y agoThat's how we think about the completion spec standard. It essentially is a type-safe DSL that describes the structure of CLI tools. It should be pretty easy to 'compile' a Fig completion spec down to zsh, fish, or bash. This is actually something I've been meaning to write!