Display device prompt
See original GitHub issueHello,
Is there a way to display the device prompt? This issue is related to issues #111 and #131.
Simply, I’d like to have this output:
<DEVICE>mmi-mode enable
Warning: Entered machine-to-machine mode. All the commands will be executed without being confirmed. Exercise caution when using this command.
<DEVICE>system-view
[DEVICE]#
[DEVICE]interface Ethernet 0/0/1
[DEVICE-Ethernet0/0/1] clear configuration this
Warning[0x40530090]: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :
Running...
Info[0x40530093]: Total 6 command(s) executed, 6 successful, 0 failed.
Instead of:
mmi-mode enable
Warning: Entered machine-to-machine mode. All the commands will be executed without being confirmed. Exercise caution when using this command.
system-view
#
interface Ethernet 0/0/1
clear configuration this
Warning[0x40530090]: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :
Running...
Info[0x40530093]: Total 6 command(s) executed, 6 successful, 0 failed.
Yes, there are reasons I need this data:
- It helps to debug.
- Having the prompt is more convenient and readable.
Why not provide this feature as an option (e.g., a parameter).
Thanks for your work, Exscript is a nice toolbox.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Windows 10 command to get current display device
Is there any command on Windows 10 that shows the name (or some identification string) of the active monitor on a multi-monitor system?...
Read more >Device Manager does not display devices that are not ...
Device Manager displays only non-Plug and Play devices, drivers, and printers ... For Windows 7 and earlier: Type the following command a command...
Read more >How to Access Device Manager From the Command Prompt
The Device Manager run command is handy to know for starting the Device Manager, updating drivers, and more. Enter devmgmt.msc into Command ...
Read more >How to get a list of all Device Drivers using Command Prompt
This can be a difficult process, which is why we are going to talk about how to view a list of all device...
Read more >How to Find and List Connected USB Devices in Windows 10
That command will show a list of all present USB devices. "Status OK" means that a device is currently plugged in and works...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Exactly 😃
Here is what I tried:
Now I got the prompt:
Is this the recommended way to go? Thanks!