{"action":"created","comment":{"url":"https://api.github.com/repos/getgauge/gauge/pulls/comments/171206641","pull_request_review_id":100017026,"id":171206641,"diff_hunk":"@@ -37,7 +38,7 @@ var (\n \t\t\t\treturn\n \t\t\t}\n \t\t\tif len(args) < 1 {\n-\t\t\t\tlogger.Fatalf(\"Error: Missing argument <template name>. To see all the templates, run 'gauge list-templates'.\\n%s\", cmd.UsageString())\n+\t\t\t\texitWithError(fmt.Errorf(\"Error: Missing argument <template name>. To see all the templates, run 'gauge list-templates'\"), cmd.UsageString())","path":"cmd/init.go","position":15,"original_position":15,"commit_id":"e8225cf9d05f78380d7c018bcd9bc133f8bd0673","original_commit_id":"e8225cf9d05f78380d7c018bcd9bc133f8bd0673","user":{"login":"sriv","id":389148,"avatar_url":"https://avatars0.githubusercontent.com/u/389148?v=4","gravatar_id":"","url":"https://api.github.com/users/sriv","html_url":"https://github.com/sriv","followers_url":"https://api.github.com/users/sriv/followers","following_url":"https://api.github.com/users/sriv/following{/other_user}","gists_url":"https://api.github.com/users/sriv/gists{/gist_id}","starred_url":"https://api.github.com/users/sriv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriv/subscriptions","organizations_url":"https://api.github.com/users/sriv/orgs","repos_url":"https://api.github.com/users/sriv/repos","events_url":"https://api.github.com/users/sriv/events{/privacy}","received_events_url":"https://api.github.com/users/sriv/received_events","type":"User","site_admin":false},"body":"`Error` can be dropped from `fmt.Errorf`","created_at":"2018-02-28T10:50:31Z","updated_at":"2018-02-28T10:51:36Z","html_url":"https://github.com/getgauge/gauge/pull/951#discussion_r171206641","pull_request_url":"https://api.github.com/repos/getgauge/gauge/pulls/951","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/getgauge/gauge/pulls/comments/171206641"},"html":{"href":"https://github.com/getgauge/gauge/pull/951#discussion_r171206641"},"pull_request":{"href":"https://api.github.com/repos/getgauge/gauge/pulls/951"}}},"pull_request":{"url":"https://api.github.com/repos/getgauge/gauge/pulls/951","id":171353851,"html_url":"https://github.com/getgauge/gauge/pull/951","diff_url":"https://github.com/getgauge/gauge/pull/951.diff","patch_url":"https://github.com/getgauge/gauge/pull/951.patch","issue_url":"https://api.github.com/repos/getgauge/gauge/issues/951","number":951,"state":"open","locked":false,"title":"Handling CLI errors","user":{"login":"nehashri","id":5715387,"avatar_url":"https://avatars3.githubusercontent.com/u/5715387?v=4","gravatar_id":"","url":"https://api.github.com/users/nehashri","html_url":"https://github.com/nehashri","followers_url":"https://api.github.com/users/nehashri/followers","following_url":"https://api.github.com/users/nehashri/following{/other_user}","gists_url":"https://api.github.com/users/nehashri/gists{/gist_id}","starred_url":"https://api.github.com/users/nehashri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehashri/subscriptions","organizations_url":"https://api.github.com/users/nehashri/orgs","repos_url":"https://api.github.com/users/nehashri/repos","events_url":"https://api.github.com/users/nehashri/events{/privacy}","received_events_url":"https://api.github.com/users/nehashri/received_events","type":"User","site_admin":false},"body":"- removes use of logger.fatalf when command usage is incorrect.","created_at":"2018-02-26T11:54:31Z","updated_at":"2018-02-28T10:51:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83f15152ef0b845917d5583b510cf5bce7077948","assignee":{"login":"nehashri","id":5715387,"avatar_url":"https://avatars3.githubusercontent.com/u/5715387?v=4","gravatar_id":"","url":"https://api.github.com/users/nehashri","html_url":"https://github.com/nehashri","followers_url":"https://api.github.com/users/nehashri/followers","following_url":"https://api.github.com/users/nehashri/following{/other_user}","gists_url":"https://api.github.com/users/nehashri/gists{/gist_id}","starred_url":"https://api.github.com/users/nehashri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehashri/subscriptions","organizations_url":"https://api.github.com/users/nehashri/orgs","repos_url":"https://api.github.com/users/nehashri/repos","events_url":"https://api.github.com/users/nehashri/events{/privacy}","received_events_url":"https://api.github.com/users/nehashri/received_events","type":"User","site_admin":false},"assignees":[{"login":"nehashri","id":5715387,"avatar_url":"https://avatars3.githubusercontent.com/u/5715387?v=4","gravatar_id":"","url":"https://api.github.com/users/nehashri","html_url":"https://github.com/nehashri","followers_url":"https://api.github.com/users/nehashri/followers","following_url":"https://api.github.com/users/nehashri/following{/other_user}","gists_url":"https://api.github.com/users/nehashri/gists{/gist_id}","starred_url":"https://api.github.com/users/nehashri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehashri/subscriptions","organizations_url":"https://api.github.com/users/nehashri/orgs","repos_url":"https://api.github.com/users/nehashri/repos","events_url":"https://api.github.com/users/nehashri/events{/privacy}","received_events_url":"https://api.github.com/users/nehashri/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":683079179,"url":"https://api.github.com/repos/getgauge/gauge/labels/cla-signed","name":"cla-signed","color":"0e8a16","default":false},{"id":364228267,"url":"https://api.github.com/repos/getgauge/gauge/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/getgauge/gauge/pulls/951/commits","review_comments_url":"https://api.github.com/repos/getgauge/gauge/pulls/951/comments","review_comment_url":"https://api.github.com/repos/getgauge/gauge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getgauge/gauge/issues/951/comments","statuses_url":"https://api.github.com/repos/getgauge/gauge/statuses/e8225cf9d05f78380d7c018bcd9bc133f8bd0673","head":{"label":"getgauge:946_error_message_format","ref":"946_error_message_format","sha":"e8225cf9d05f78380d7c018bcd9bc133f8bd0673","user":{"login":"getgauge","id":7044589,"avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"repo":{"id":18055618,"name":"gauge","full_name":"getgauge/gauge","owner":{"login":"getgauge","id":7044589,"avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getgauge/gauge","description":"Light weight cross-platform test automation","fork":false,"url":"https://api.github.com/repos/getgauge/gauge","forks_url":"https://api.github.com/repos/getgauge/gauge/forks","keys_url":"https://api.github.com/repos/getgauge/gauge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getgauge/gauge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getgauge/gauge/teams","hooks_url":"https://api.github.com/repos/getgauge/gauge/hooks","issue_events_url":"https://api.github.com/repos/getgauge/gauge/issues/events{/number}","events_url":"https://api.github.com/repos/getgauge/gauge/events","assignees_url":"https://api.github.com/repos/getgauge/gauge/assignees{/user}","branches_url":"https://api.github.com/repos/getgauge/gauge/branches{/branch}","tags_url":"https://api.github.com/repos/getgauge/gauge/tags","blobs_url":"https://api.github.com/repos/getgauge/gauge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getgauge/gauge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getgauge/gauge/git/refs{/sha}","trees_url":"https://api.github.com/repos/getgauge/gauge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getgauge/gauge/statuses/{sha}","languages_url":"https://api.github.com/repos/getgauge/gauge/languages","stargazers_url":"https://api.github.com/repos/getgauge/gauge/stargazers","contributors_url":"https://api.github.com/repos/getgauge/gauge/contributors","subscribers_url":"https://api.github.com/repos/getgauge/gauge/subscribers","subscription_url":"https://api.github.com/repos/getgauge/gauge/subscription","commits_url":"https://api.github.com/repos/getgauge/gauge/commits{/sha}","git_commits_url":"https://api.github.com/repos/getgauge/gauge/git/commits{/sha}","comments_url":"https://api.github.com/repos/getgauge/gauge/comments{/number}","issue_comment_url":"https://api.github.com/repos/getgauge/gauge/issues/comments{/number}","contents_url":"https://api.github.com/repos/getgauge/gauge/contents/{+path}","compare_url":"https://api.github.com/repos/getgauge/gauge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getgauge/gauge/merges","archive_url":"https://api.github.com/repos/getgauge/gauge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getgauge/gauge/downloads","issues_url":"https://api.github.com/repos/getgauge/gauge/issues{/number}","pulls_url":"https://api.github.com/repos/getgauge/gauge/pulls{/number}","milestones_url":"https://api.github.com/repos/getgauge/gauge/milestones{/number}","notifications_url":"https://api.github.com/repos/getgauge/gauge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getgauge/gauge/labels{/name}","releases_url":"https://api.github.com/repos/getgauge/gauge/releases{/id}","deployments_url":"https://api.github.com/repos/getgauge/gauge/deployments","created_at":"2014-03-24T08:06:58Z","updated_at":"2018-02-27T19:39:31Z","pushed_at":"2018-02-28T10:13:11Z","git_url":"git://github.com/getgauge/gauge.git","ssh_url":"git@github.com:getgauge/gauge.git","clone_url":"https://github.com/getgauge/gauge.git","svn_url":"https://github.com/getgauge/gauge","homepage":"https://gauge.org","size":9894,"stargazers_count":1029,"watchers_count":1029,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":168,"mirror_url":null,"archived":false,"open_issues_count":155,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":168,"open_issues":155,"watchers":1029,"default_branch":"master"}},"base":{"label":"getgauge:master","ref":"master","sha":"d997b9a19f004782df6cdb5138bd3454625e0c21","user":{"login":"getgauge","id":7044589,"avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"repo":{"id":18055618,"name":"gauge","full_name":"getgauge/gauge","owner":{"login":"getgauge","id":7044589,"avatar_url":"https://avatars1.githubusercontent.com/u/7044589?v=4","gravatar_id":"","url":"https://api.github.com/users/getgauge","html_url":"https://github.com/getgauge","followers_url":"https://api.github.com/users/getgauge/followers","following_url":"https://api.github.com/users/getgauge/following{/other_user}","gists_url":"https://api.github.com/users/getgauge/gists{/gist_id}","starred_url":"https://api.github.com/users/getgauge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getgauge/subscriptions","organizations_url":"https://api.github.com/users/getgauge/orgs","repos_url":"https://api.github.com/users/getgauge/repos","events_url":"https://api.github.com/users/getgauge/events{/privacy}","received_events_url":"https://api.github.com/users/getgauge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getgauge/gauge","description":"Light weight cross-platform test automation","fork":false,"url":"https://api.github.com/repos/getgauge/gauge","forks_url":"https://api.github.com/repos/getgauge/gauge/forks","keys_url":"https://api.github.com/repos/getgauge/gauge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getgauge/gauge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getgauge/gauge/teams","hooks_url":"https://api.github.com/repos/getgauge/gauge/hooks","issue_events_url":"https://api.github.com/repos/getgauge/gauge/issues/events{/number}","events_url":"https://api.github.com/repos/getgauge/gauge/events","assignees_url":"https://api.github.com/repos/getgauge/gauge/assignees{/user}","branches_url":"https://api.github.com/repos/getgauge/gauge/branches{/branch}","tags_url":"https://api.github.com/repos/getgauge/gauge/tags","blobs_url":"https://api.github.com/repos/getgauge/gauge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getgauge/gauge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getgauge/gauge/git/refs{/sha}","trees_url":"https://api.github.com/repos/getgauge/gauge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getgauge/gauge/statuses/{sha}","languages_url":"https://api.github.com/repos/getgauge/gauge/languages","stargazers_url":"https://api.github.com/repos/getgauge/gauge/stargazers","contributors_url":"https://api.github.com/repos/getgauge/gauge/contributors","subscribers_url":"https://api.github.com/repos/getgauge/gauge/subscribers","subscription_url":"https://api.github.com/repos/getgauge/gauge/subscription","commits_url":"https://api.github.com/repos/getgauge/gauge/commits{/sha}","git_commits_url":"https://api.github.com/repos/getgauge/gauge/git/commits{/sha}","comments_url":"https://api.github.com/repos/getgauge/gauge/comments{/number}","issue_comment_url":"https://api.github.com/repos/getgauge/gauge/issues/comments{/number}","contents_url":"https://api.github.com/repos/getgauge/gauge/contents/{+path}","compare_url":"https://api.github.com/repos/getgauge/gauge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getgauge/gauge/merges","archive_url":"https://api.github.com/repos/getgauge/gauge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getgauge/gauge/downloads","issues_url":"https://api.github.com/repos/getgauge/gauge/issues{/number}","pulls_url":"https://api.github.com/repos/getgauge/gauge/pulls{/number}","milestones_url":"https://api.github.com/repos/getgauge/gauge/milestones{/number}","notifications_url":"https://api.github.com/repos/getgauge/gauge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getgauge/gauge/labels{/name}","releases_url":"https://api.github.com/repos/getgauge/gauge/releases{/id}","deployments_url":"https://api.github.com/repos/getgauge/gauge/deployments","created_at":"2014-03-24T08:06:58Z","updated_at":"2018-02-27T19:39:31Z","pushed_at":"2018-02-28T10:13:11Z","git_url":"git://github.com/getgauge/gauge.git","ssh_url":"git@github.com:getgauge/gauge.git","clone_url":"https://github.com/getgauge/gauge.git","svn_url":"https://github.com/getgauge/gauge","homepage":"https://gauge.org","size":9894,"stargazers_count":1029,"watchers_count":1029,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":168,"mirror_url":null,"archived":false,"open_issues_count":155,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":168,"open_issues":155,"watchers":1029,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getgauge/gauge/pulls/951"},"html":{"href":"https://github.com/getgauge/gauge/pull/951"},"issue":{"href":"https://api.github.com/repos/getgauge/gauge/issues/951"},"comments":{"href":"https://api.github.com/repos/getgauge/gauge/issues/951/comments"},"review_comments":{"href":"https://api.github.com/repos/getgauge/gauge/pulls/951/comments"},"review_comment":{"href":"https://api.github.com/repos/getgauge/gauge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getgauge/gauge/pulls/951/commits"},"statuses":{"href":"https://api.github.com/repos/getgauge/gauge/statuses/e8225cf9d05f78380d7c018bcd9bc133f8bd0673"}},"author_association":"OWNER"}}
{"actor":{"display_login":"sriv"}}