{"action":"created","issue":{"url":"https://api.github.com/repos/briansimoni/Go-Shell/issues/11","labels_url":"https://api.github.com/repos/briansimoni/Go-Shell/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/briansimoni/Go-Shell/issues/11/comments","events_url":"https://api.github.com/repos/briansimoni/Go-Shell/issues/11/events","html_url":"https://github.com/briansimoni/Go-Shell/issues/11","id":120342082,"number":11,"title":"The shell must be able to take its command line input from a file","user":{"login":"herbertkb","id":5232585,"avatar_url":"https://avatars.githubusercontent.com/u/5232585?v=3","gravatar_id":"","url":"https://api.github.com/users/herbertkb","html_url":"https://github.com/herbertkb","followers_url":"https://api.github.com/users/herbertkb/followers","following_url":"https://api.github.com/users/herbertkb/following{/other_user}","gists_url":"https://api.github.com/users/herbertkb/gists{/gist_id}","starred_url":"https://api.github.com/users/herbertkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbertkb/subscriptions","organizations_url":"https://api.github.com/users/herbertkb/orgs","repos_url":"https://api.github.com/users/herbertkb/repos","events_url":"https://api.github.com/users/herbertkb/events{/privacy}","received_events_url":"https://api.github.com/users/herbertkb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/briansimoni/Go-Shell/labels/Done","name":"Done","color":"79d858"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/briansimoni/Go-Shell/milestones/3","html_url":"https://github.com/briansimoni/Go-Shell/milestones/3.%20Take%20Command%20line%20input%20from%20a%20file.%20","labels_url":"https://api.github.com/repos/briansimoni/Go-Shell/milestones/3/labels","id":1438780,"number":3,"title":"3. Take Command line input from a file. ","description":"The shell must be able to take its command line input from a file. That is, if the shell is invoked with a command line argument:\r\n    myshell batchfile\r\nthen batchfile is assumed to contain a set of command lines for the shell to process. When the end-of-file is reached, the shell should exit. Obviously, if the shell is invoked without a command line argument, it\r\nsolicits input from the user via a prompt on the display.","creator":{"login":"herbertkb","id":5232585,"avatar_url":"https://avatars.githubusercontent.com/u/5232585?v=3","gravatar_id":"","url":"https://api.github.com/users/herbertkb","html_url":"https://github.com/herbertkb","followers_url":"https://api.github.com/users/herbertkb/followers","following_url":"https://api.github.com/users/herbertkb/following{/other_user}","gists_url":"https://api.github.com/users/herbertkb/gists{/gist_id}","starred_url":"https://api.github.com/users/herbertkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbertkb/subscriptions","organizations_url":"https://api.github.com/users/herbertkb/orgs","repos_url":"https://api.github.com/users/herbertkb/repos","events_url":"https://api.github.com/users/herbertkb/events{/privacy}","received_events_url":"https://api.github.com/users/herbertkb/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-12-02T02:22:35Z","updated_at":"2015-12-04T07:57:32Z","due_on":"2015-12-06T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-04T06:28:59Z","updated_at":"2015-12-04T07:57:32Z","closed_at":"2015-12-04T07:57:32Z","body":"The shell must be able to take its command line input from a file. That is, if the shell is invoked with a command line argument:\r\nmyshell batchfile\r\nthen batchfile is assumed to contain a set of command lines for the shell to process. When the end-of-file is reached, the shell should exit. Obviously, if the shell is invoked without a command line argument, it solicits input from the user via a prompt on the display."},"comment":{"url":"https://api.github.com/repos/briansimoni/Go-Shell/issues/comments/161903221","html_url":"https://github.com/briansimoni/Go-Shell/issues/11#issuecomment-161903221","issue_url":"https://api.github.com/repos/briansimoni/Go-Shell/issues/11","id":161903221,"user":{"login":"herbertkb","id":5232585,"avatar_url":"https://avatars.githubusercontent.com/u/5232585?v=3","gravatar_id":"","url":"https://api.github.com/users/herbertkb","html_url":"https://github.com/herbertkb","followers_url":"https://api.github.com/users/herbertkb/followers","following_url":"https://api.github.com/users/herbertkb/following{/other_user}","gists_url":"https://api.github.com/users/herbertkb/gists{/gist_id}","starred_url":"https://api.github.com/users/herbertkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herbertkb/subscriptions","organizations_url":"https://api.github.com/users/herbertkb/orgs","repos_url":"https://api.github.com/users/herbertkb/repos","events_url":"https://api.github.com/users/herbertkb/events{/privacy}","received_events_url":"https://api.github.com/users/herbertkb/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T07:57:32Z","updated_at":"2015-12-04T07:57:32Z","body":"Done! fafe3a1e7e84f614b714173f85b0e13773e77671\r\n\r\nCreated a file `testcommands.gosh` to try different commands to run.\r\nWhat do you think about  *.gosh as a file extension for Go-Shell scripts?\r\n"}}