{"action":"created","comment":{"url":"https://api.github.com/repos/Clever/aviator/pulls/comments/29014054","id":29014054,"diff_hunk":"@@ -22,6 +22,8 @@ func main() {\n \ttrace := flag.Bool(\"trace\", false, \"Sets log level to trace\")\n \tquiet := flag.Bool(\"quiet\", false, \"Sets log level to quiet\")\n \tlist := flag.Bool(\"list\", false, \"List services that can be started\")\n+\tuseConfig := flag.String(\"config\", \"\", \"Start all services with a particular config (e.g. no prompts)\")\n+\tdefaults := flag.Bool(\"defaults\", false, \"Start all services with the default config (cannot be used with -config)\")","path":"cmd/aviator/main.go","position":5,"original_position":5,"commit_id":"abd172f5f9b73d81f1548fc858cd1240b1898025","original_commit_id":"abd172f5f9b73d81f1548fc858cd1240b1898025","user":{"login":"bstein-clever","id":11928921,"avatar_url":"https://avatars.githubusercontent.com/u/11928921?v=3","gravatar_id":"","url":"https://api.github.com/users/bstein-clever","html_url":"https://github.com/bstein-clever","followers_url":"https://api.github.com/users/bstein-clever/followers","following_url":"https://api.github.com/users/bstein-clever/following{/other_user}","gists_url":"https://api.github.com/users/bstein-clever/gists{/gist_id}","starred_url":"https://api.github.com/users/bstein-clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bstein-clever/subscriptions","organizations_url":"https://api.github.com/users/bstein-clever/orgs","repos_url":"https://api.github.com/users/bstein-clever/repos","events_url":"https://api.github.com/users/bstein-clever/events{/privacy}","received_events_url":"https://api.github.com/users/bstein-clever/received_events","type":"User","site_admin":false},"body":"I'll make it so.","created_at":"2015-04-23T23:46:30Z","updated_at":"2015-04-23T23:46:30Z","html_url":"https://github.com/Clever/aviator/pull/49#discussion_r29014054","pull_request_url":"https://api.github.com/repos/Clever/aviator/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/Clever/aviator/pulls/comments/29014054"},"html":{"href":"https://github.com/Clever/aviator/pull/49#discussion_r29014054"},"pull_request":{"href":"https://api.github.com/repos/Clever/aviator/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/Clever/aviator/pulls/49","id":33919701,"html_url":"https://github.com/Clever/aviator/pull/49","diff_url":"https://github.com/Clever/aviator/pull/49.diff","patch_url":"https://github.com/Clever/aviator/pull/49.patch","issue_url":"https://api.github.com/repos/Clever/aviator/issues/49","number":49,"state":"open","locked":false,"title":"Command line flag for default/custom configs. ","user":{"login":"bstein-clever","id":11928921,"avatar_url":"https://avatars.githubusercontent.com/u/11928921?v=3","gravatar_id":"","url":"https://api.github.com/users/bstein-clever","html_url":"https://github.com/bstein-clever","followers_url":"https://api.github.com/users/bstein-clever/followers","following_url":"https://api.github.com/users/bstein-clever/following{/other_user}","gists_url":"https://api.github.com/users/bstein-clever/gists{/gist_id}","starred_url":"https://api.github.com/users/bstein-clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bstein-clever/subscriptions","organizations_url":"https://api.github.com/users/bstein-clever/orgs","repos_url":"https://api.github.com/users/bstein-clever/repos","events_url":"https://api.github.com/users/bstein-clever/events{/privacy}","received_events_url":"https://api.github.com/users/bstein-clever/received_events","type":"User","site_admin":false},"body":"I'm not the happiest with the error checking I added, or the related unit tests, but I'm not clear on a better way to handle it. Thoughts are welcome.","created_at":"2015-04-23T02:41:38Z","updated_at":"2015-04-23T23:46:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80d556f33983940ed1a95717e386703853406013","assignee":{"login":"rgarcia","id":72655,"avatar_url":"https://avatars.githubusercontent.com/u/72655?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarcia","html_url":"https://github.com/rgarcia","followers_url":"https://api.github.com/users/rgarcia/followers","following_url":"https://api.github.com/users/rgarcia/following{/other_user}","gists_url":"https://api.github.com/users/rgarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarcia/subscriptions","organizations_url":"https://api.github.com/users/rgarcia/orgs","repos_url":"https://api.github.com/users/rgarcia/repos","events_url":"https://api.github.com/users/rgarcia/events{/privacy}","received_events_url":"https://api.github.com/users/rgarcia/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Clever/aviator/pulls/49/commits","review_comments_url":"https://api.github.com/repos/Clever/aviator/pulls/49/comments","review_comment_url":"https://api.github.com/repos/Clever/aviator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Clever/aviator/issues/49/comments","statuses_url":"https://api.github.com/repos/Clever/aviator/statuses/abd172f5f9b73d81f1548fc858cd1240b1898025","head":{"label":"Clever:bstein-dev-defaults","ref":"bstein-dev-defaults","sha":"abd172f5f9b73d81f1548fc858cd1240b1898025","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":21252048,"name":"aviator","full_name":"Clever/aviator","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/aviator","description":"Dependent service launching on localhost","fork":false,"url":"https://api.github.com/repos/Clever/aviator","forks_url":"https://api.github.com/repos/Clever/aviator/forks","keys_url":"https://api.github.com/repos/Clever/aviator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/aviator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/aviator/teams","hooks_url":"https://api.github.com/repos/Clever/aviator/hooks","issue_events_url":"https://api.github.com/repos/Clever/aviator/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/aviator/events","assignees_url":"https://api.github.com/repos/Clever/aviator/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/aviator/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/aviator/tags","blobs_url":"https://api.github.com/repos/Clever/aviator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/aviator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/aviator/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/aviator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/aviator/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/aviator/languages","stargazers_url":"https://api.github.com/repos/Clever/aviator/stargazers","contributors_url":"https://api.github.com/repos/Clever/aviator/contributors","subscribers_url":"https://api.github.com/repos/Clever/aviator/subscribers","subscription_url":"https://api.github.com/repos/Clever/aviator/subscription","commits_url":"https://api.github.com/repos/Clever/aviator/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/aviator/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/aviator/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/aviator/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/aviator/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/aviator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/aviator/merges","archive_url":"https://api.github.com/repos/Clever/aviator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/aviator/downloads","issues_url":"https://api.github.com/repos/Clever/aviator/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/aviator/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/aviator/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/aviator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/aviator/labels{/name}","releases_url":"https://api.github.com/repos/Clever/aviator/releases{/id}","created_at":"2014-06-26T19:20:57Z","updated_at":"2015-04-23T08:23:22Z","pushed_at":"2015-04-23T02:41:40Z","git_url":"git://github.com/Clever/aviator.git","ssh_url":"git@github.com:Clever/aviator.git","clone_url":"https://github.com/Clever/aviator.git","svn_url":"https://github.com/Clever/aviator","homepage":null,"size":1267,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":23,"default_branch":"master"}},"base":{"label":"Clever:master","ref":"master","sha":"548bc67f45c837fbdb410a66e0c844f1a4fd9465","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":21252048,"name":"aviator","full_name":"Clever/aviator","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/aviator","description":"Dependent service launching on localhost","fork":false,"url":"https://api.github.com/repos/Clever/aviator","forks_url":"https://api.github.com/repos/Clever/aviator/forks","keys_url":"https://api.github.com/repos/Clever/aviator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/aviator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/aviator/teams","hooks_url":"https://api.github.com/repos/Clever/aviator/hooks","issue_events_url":"https://api.github.com/repos/Clever/aviator/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/aviator/events","assignees_url":"https://api.github.com/repos/Clever/aviator/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/aviator/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/aviator/tags","blobs_url":"https://api.github.com/repos/Clever/aviator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/aviator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/aviator/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/aviator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/aviator/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/aviator/languages","stargazers_url":"https://api.github.com/repos/Clever/aviator/stargazers","contributors_url":"https://api.github.com/repos/Clever/aviator/contributors","subscribers_url":"https://api.github.com/repos/Clever/aviator/subscribers","subscription_url":"https://api.github.com/repos/Clever/aviator/subscription","commits_url":"https://api.github.com/repos/Clever/aviator/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/aviator/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/aviator/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/aviator/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/aviator/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/aviator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/aviator/merges","archive_url":"https://api.github.com/repos/Clever/aviator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/aviator/downloads","issues_url":"https://api.github.com/repos/Clever/aviator/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/aviator/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/aviator/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/aviator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/aviator/labels{/name}","releases_url":"https://api.github.com/repos/Clever/aviator/releases{/id}","created_at":"2014-06-26T19:20:57Z","updated_at":"2015-04-23T08:23:22Z","pushed_at":"2015-04-23T02:41:40Z","git_url":"git://github.com/Clever/aviator.git","ssh_url":"git@github.com:Clever/aviator.git","clone_url":"https://github.com/Clever/aviator.git","svn_url":"https://github.com/Clever/aviator","homepage":null,"size":1267,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Clever/aviator/pulls/49"},"html":{"href":"https://github.com/Clever/aviator/pull/49"},"issue":{"href":"https://api.github.com/repos/Clever/aviator/issues/49"},"comments":{"href":"https://api.github.com/repos/Clever/aviator/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/Clever/aviator/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/Clever/aviator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Clever/aviator/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/Clever/aviator/statuses/abd172f5f9b73d81f1548fc858cd1240b1898025"}}}}