{"action":"created","issue":{"url":"https://api.github.com/repos/mruby/mruby/issues/2950","labels_url":"https://api.github.com/repos/mruby/mruby/issues/2950/labels{/name}","comments_url":"https://api.github.com/repos/mruby/mruby/issues/2950/comments","events_url":"https://api.github.com/repos/mruby/mruby/issues/2950/events","html_url":"https://github.com/mruby/mruby/pull/2950","id":105935865,"number":2950,"title":"mirb should take filename and arguments.","user":{"login":"mattn","id":10111,"avatar_url":"https://avatars.githubusercontent.com/u/10111?v=3","gravatar_id":"","url":"https://api.github.com/users/mattn","html_url":"https://github.com/mattn","followers_url":"https://api.github.com/users/mattn/followers","following_url":"https://api.github.com/users/mattn/following{/other_user}","gists_url":"https://api.github.com/users/mattn/gists{/gist_id}","starred_url":"https://api.github.com/users/mattn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattn/subscriptions","organizations_url":"https://api.github.com/users/mattn/orgs","repos_url":"https://api.github.com/users/mattn/repos","events_url":"https://api.github.com/users/mattn/events{/privacy}","received_events_url":"https://api.github.com/users/mattn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-11T03:00:03Z","updated_at":"2015-09-14T06:41:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mruby/mruby/pulls/2950","html_url":"https://github.com/mruby/mruby/pull/2950","diff_url":"https://github.com/mruby/mruby/pull/2950.diff","patch_url":"https://github.com/mruby/mruby/pull/2950.patch"},"body":"works as same as irb\r\n\r\n```\r\n$ cat test.rb\r\nputs \"foo\"\r\n\r\n$ mirb test.rb hello\r\nmirb - Embeddable Interactive Ruby Shell\r\n\r\nfoo\r\n => nil\r\n> p ARGV\r\n[\"hello\"]\r\n => [\"hello\"]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mruby/mruby/issues/comments/139976491","html_url":"https://github.com/mruby/mruby/pull/2950#issuecomment-139976491","issue_url":"https://api.github.com/repos/mruby/mruby/issues/2950","id":139976491,"user":{"login":"strcmp","id":8934693,"avatar_url":"https://avatars.githubusercontent.com/u/8934693?v=3","gravatar_id":"","url":"https://api.github.com/users/strcmp","html_url":"https://github.com/strcmp","followers_url":"https://api.github.com/users/strcmp/followers","following_url":"https://api.github.com/users/strcmp/following{/other_user}","gists_url":"https://api.github.com/users/strcmp/gists{/gist_id}","starred_url":"https://api.github.com/users/strcmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strcmp/subscriptions","organizations_url":"https://api.github.com/users/strcmp/orgs","repos_url":"https://api.github.com/users/strcmp/repos","events_url":"https://api.github.com/users/strcmp/events{/privacy}","received_events_url":"https://api.github.com/users/strcmp/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T06:41:55Z","updated_at":"2015-09-14T06:41:55Z","body":"I think it is more useful to not terminate at the end. At the moment `irb foo.rb` sounds `Kernel#p` and `ruby foo.rb` on steroids. it doesnt seem useful."}}