{"action":"created","issue":{"url":"https://api.github.com/repos/python-cmd2/cmd2/issues/135","repository_url":"https://api.github.com/repos/python-cmd2/cmd2","labels_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/135/comments","events_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/135/events","html_url":"https://github.com/python-cmd2/cmd2/issues/135","id":237456789,"number":135,"title":"Is this the right module for me?","user":{"login":"mgiaco","id":4886904,"avatar_url":"https://avatars1.githubusercontent.com/u/4886904?v=4","gravatar_id":"","url":"https://api.github.com/users/mgiaco","html_url":"https://github.com/mgiaco","followers_url":"https://api.github.com/users/mgiaco/followers","following_url":"https://api.github.com/users/mgiaco/following{/other_user}","gists_url":"https://api.github.com/users/mgiaco/gists{/gist_id}","starred_url":"https://api.github.com/users/mgiaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgiaco/subscriptions","organizations_url":"https://api.github.com/users/mgiaco/orgs","repos_url":"https://api.github.com/users/mgiaco/repos","events_url":"https://api.github.com/users/mgiaco/events{/privacy}","received_events_url":"https://api.github.com/users/mgiaco/received_events","type":"User","site_admin":false},"labels":[{"id":324131055,"url":"https://api.github.com/repos/python-cmd2/cmd2/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-06-21T08:39:22Z","updated_at":"2017-08-24T16:06:33Z","closed_at":"2017-07-06T13:31:14Z","body":"Hello,\r\n\r\nFor a project I  need  a Command interpreter which runs some commands one after on from a file. So it should be possible to load a speciall command file. And then the interpreter should interpret every command in that file.  I do not need any user interaction. I only need some automation so open the file and run it.\r\n\r\nThe file is:\r\n```file \r\nON 10 \r\nCMD1\r\nCMD10\r\nRUN\r\nSAVE\r\nSTOP M2\r\nOFF\r\n ```\r\nSo every command should end in a callback and if the callback is finished the next line should be executed. \r\nI am wondering if I can use any standard module as a basis for the implementation. And cmd/cmd2 is one I have found therefore I ask here.\r\n\r\nmany thanks"},"comment":{"url":"https://api.github.com/repos/python-cmd2/cmd2/issues/comments/324681300","html_url":"https://github.com/python-cmd2/cmd2/issues/135#issuecomment-324681300","issue_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/135","id":324681300,"user":{"login":"tleonhardt","id":2812720,"avatar_url":"https://avatars1.githubusercontent.com/u/2812720?v=4","gravatar_id":"","url":"https://api.github.com/users/tleonhardt","html_url":"https://github.com/tleonhardt","followers_url":"https://api.github.com/users/tleonhardt/followers","following_url":"https://api.github.com/users/tleonhardt/following{/other_user}","gists_url":"https://api.github.com/users/tleonhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/tleonhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleonhardt/subscriptions","organizations_url":"https://api.github.com/users/tleonhardt/orgs","repos_url":"https://api.github.com/users/tleonhardt/repos","events_url":"https://api.github.com/users/tleonhardt/events{/privacy}","received_events_url":"https://api.github.com/users/tleonhardt/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T16:06:33Z","updated_at":"2017-08-24T16:06:33Z","body":"@kotfu That is an excellent suggestion regarding the **requires_connection** decorator."}}
{"actor":{"display_login":"tleonhardt"}}