3 ms·
The main thing is that if you knew a program supported it, you could have your shell autocomplete arguments. I know there are tools for doing this from man page
by wheybags 6y ago
The main thing is that if you knew a program supported it, you could have your shell autocomplete arguments. I know there are tools for doing this from man pages, but they're basically using heuristics, and don't always work.
Would be nice for the https://explainshell.com/ https://explainshell.com/ guys too
- tmpfs 6y agoI had a crack at this here: https://github.com/mkdoc/mkcli https://github.com/mkdoc/mkcli One of these days i would like to rewrite it in Go or Rust. I even got around to generating bash/zsh completion scripts from the generated program descriptor.
- wheybags 6y ago:o nice!
- Fire-Dragon-DoL 6y agoInteresting. In combination with this, it could make writing bash scripts way easier https://argbash.io/ https://argbash.io/ I can picture documenting the stuff with your tool, then one click and POP! All you need is the implementation.