{"action":"created","issue":{"url":"https://api.github.com/repos/neonichu/cato/issues/5","labels_url":"https://api.github.com/repos/neonichu/cato/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/neonichu/cato/issues/5/comments","events_url":"https://api.github.com/repos/neonichu/cato/issues/5/events","html_url":"https://github.com/neonichu/cato/issues/5","id":66071479,"number":5,"title":"cato fails to execute Swift file and shows usage if the script file doesn't have a .swift extension","user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-03T04:18:54Z","updated_at":"2015-04-03T12:31:59Z","closed_at":null,"body":"I think this is right looking at the README:\r\n\r\n```\r\n$ cat test\r\n#!/usr/bin/env cato\r\n\r\nimport URITemplate\r\n\r\nlet template = URITemplate(template: \"test\")\r\nprintln(\"\\(template)\")\r\n\r\n$ ./test\r\nUsage: /usr/local/bin/cato [SWIFT-VERSION] SCRIPT\r\n\r\n$ cato test\r\nUsage: /usr/local/bin/cato [SWIFT-VERSION] SCRIPT\r\n```"},"comment":{"url":"https://api.github.com/repos/neonichu/cato/issues/comments/89274458","html_url":"https://github.com/neonichu/cato/issues/5#issuecomment-89274458","issue_url":"https://api.github.com/repos/neonichu/cato/issues/5","id":89274458,"user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T12:31:59Z","updated_at":"2015-04-03T12:31:59Z","body":"@neonichu Yeah, there is not need for my commands to end in the language I run them. We don't do this:\r\n\r\n```bash\r\n$ pod.ruby\r\n$ cato.bash\r\n```"}}