space in command or subcommand #205
Replies: 4 comments 2 replies
-
|
Hi @achursin1986 , thank you for using the library. with that menus structure, from the root menu, you can then input the following commands: because the library shell allows you to enter the "full path" of a command, w/o entering explicitly in the submenus. |
Beta Was this translation helpful? Give feedback.
-
|
I don't see a great value in forbidding the menu access. |
Beta Was this translation helpful? Give feedback.
-
|
yes, it can be handy to implement show commands in Cisco style: RP/0/RP0/CPU0:IOSXR#show <----- so this is top menu as you described, it would give help for completion however entering just this command we don't fall into any menu, it produces error % Incomplete command. <----- Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path Gateway of last resort is not set L 1.1.1.1/32 is directly connected, 00:01:01, Loopback0 People dealing with network devices will intuitively use such a cli interface |
Beta Was this translation helpful? Give feedback.
-
|
That's correct, however my point - historically this show mode is not available for show commands, it's more for config , when you are at the submode like you type config , then router ospf , you are now at config/ospf , then commands are available for this mode(submenus in terms of the lib). The value is just mimicking Cisco&Juniper clis, no any functional impact , just user experience option. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
thanks for the great lib!
just an idea, it was mentioned "Cisco-like" in the project description, however is there a way to implement a command like :
"show database" with space? I have tried a literal it's accepted on compile but doesn't work saying wrong command. Like in Cisco world there are commands with a common prefix :
show ip interface
show ip route
Is there a way to implement the same?
Sorry if it was asked before but I could not find it.
Beta Was this translation helpful? Give feedback.
All reactions