{"action":"closed","issue":{"url":"https://api.github.com/repos/knipknap/exscript/issues/171","repository_url":"https://api.github.com/repos/knipknap/exscript","labels_url":"https://api.github.com/repos/knipknap/exscript/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/knipknap/exscript/issues/171/comments","events_url":"https://api.github.com/repos/knipknap/exscript/issues/171/events","html_url":"https://github.com/knipknap/exscript/issues/171","id":347823270,"node_id":"MDU6SXNzdWUzNDc4MjMyNzA=","number":171,"title":"Display device prompt","user":{"login":"champidead","id":4362224,"node_id":"MDQ6VXNlcjQzNjIyMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4362224?v=4","gravatar_id":"","url":"https://api.github.com/users/champidead","html_url":"https://github.com/champidead","followers_url":"https://api.github.com/users/champidead/followers","following_url":"https://api.github.com/users/champidead/following{/other_user}","gists_url":"https://api.github.com/users/champidead/gists{/gist_id}","starred_url":"https://api.github.com/users/champidead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/champidead/subscriptions","organizations_url":"https://api.github.com/users/champidead/orgs","repos_url":"https://api.github.com/users/champidead/repos","events_url":"https://api.github.com/users/champidead/events{/privacy}","received_events_url":"https://api.github.com/users/champidead/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-06T08:17:21Z","updated_at":"2018-08-29T09:07:21Z","closed_at":"2018-08-29T09:07:21Z","author_association":"NONE","body":"Hello,\r\n\r\nIs there a way to display the device prompt?\r\nThis issue is related to issues #111 and #131.\r\n\r\nSimply, I'd like to have this output:\r\n\r\n```\r\n<DEVICE>mmi-mode enable\r\nWarning: Entered machine-to-machine mode. All the commands will be executed without being confirmed. Exercise caution when using this command. \r\n<DEVICE>system-view\r\n[DEVICE]#\r\n[DEVICE]interface Ethernet 0/0/1\r\n[DEVICE-Ethernet0/0/1] clear configuration this\r\nWarning[0x40530090]: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :\r\nRunning...\r\nInfo[0x40530093]: Total 6 command(s) executed, 6 successful, 0 failed.\r\n```\r\n\r\nInstead of:\r\n\r\n```\r\nmmi-mode enable\r\nWarning: Entered machine-to-machine mode. All the commands will be executed without being confirmed. Exercise caution when using this command. \r\nsystem-view\r\n#\r\ninterface Ethernet 0/0/1\r\n clear configuration this\r\nWarning[0x40530090]: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :\r\nRunning...\r\nInfo[0x40530093]: Total 6 command(s) executed, 6 successful, 0 failed.\r\n```\r\n\r\nYes, there are reasons I need this data:\r\n\r\n- It helps to debug.\r\n- Having the prompt is more convenient and readable.\r\n\r\nWhy not provide this feature as an option (e.g., a parameter).\r\n\r\nThanks for your work, Exscript is a nice toolbox."}}
{"actor":{"display_login":"knipknap"}}