CLI: alias ? to TAB
Description
Release Notes
relates to
Activity
Chris Gianelloni December 3, 2014 at 3:19 AM
I am dropping this request. It's more trouble than it's worth until we decide the behavior we want to enforce. It was a cool idea, but not at the expense of other features.
Taras Yatskiv December 2, 2014 at 9:37 PM
The URL with query params, is already supported by some of the services, so URL with ? is more already issue than potential problem.
Also, one more thought, maybe the regular expressions will required for a command as parameter.
Chris Gianelloni December 2, 2014 at 8:08 PM
Actually, I think we just always alias ? to TAB and that should work. There's another issue open to improve the auto-completion to give example information.
Is there any case that you can think of where someone would want to have something like "connect to ? as " with the question mark being displayed and interpreted literally? I cannot think of anything other than potentially in a URL.
Taras Yatskiv December 1, 2014 at 7:37 PM
Hm, you mean we should print the question mark as regular, when no any autoreplations available and make alias to the TAB otherwise, it's correct?
Chris Gianelloni December 1, 2014 at 7:22 PM
What issue would aliasing TAB create that is not already present when the user hits TAB at that location?
When starting the CLI for the first time, I immediately typed "?" expecting to see a help, usage, something... instead, I get:
This should be aliased to the TAB key, without requiring hitting enter. This would make the CLI work more like most network equipment CLI.