3 ms·
The best CLI manpage I've ever seen address this was linux's `ip` command (of the iproute2 package/tool suite). It starts with a BNF grammar of the various sub
by zhengyi13 6y ago
The best CLI manpage I've ever seen address this was linux's `ip` command (of the iproute2 package/tool suite).
It starts with a BNF grammar of the various subcommands and options.
Plug that into your shell's autocomplete, and you've got a fairly discoverable TUI, I think.
- oblio 6y agoThe best CLIs are interactive. Try a Cisco console. At any point they have a limited search space and you can just type "?" to get autocompletion for what you're doing. Everything is hierarchical and very discoverable. You can negate things with "no" to unset properties and such. Even zsh with various plugins or fish feel rather primitive in comparison.