3 ms·
This probably won't work with Unix shell, but some CLIs (JunOS comes to mind) have a context help that's shown when you press "?". But note it's not "?<CR>", y
by trasz 6y ago
This probably won't work with Unix shell, but some CLIs (JunOS comes to mind) have a context help that's shown when you press "?". But note it's not "?<CR>", you don't need to press enter; merely inputting a single "?" character shows possible things you can append to the command line at that point.
- a1369209993 6y agoThat's not a CLI, that's a TUI. Eg, Dwarf Fortress does this.
- trasz 6y agoHow it’s not a CLI? There is a command line, you type in commands.
- a1369209993 6y ago> But note it's not "?<CR>", you don't need to press enter "Responds to individual keypresses" vs "responds to complete lines" is pretty much the defining feature of TUI vs CLI. > you type in commands. KEY_SLASH+MOD_SHIFT is a UI event, not a command.
- trasz 6y agoIf that were true, bash wouldn’t be a CLI, due to <TAB>. What I’m describing is definitely a CLI. You type in commands, such as “show version”. It’s just a bit smarter about command completion and context help.