{"action":"created","comment":{"url":"https://api.github.com/repos/michaelsauter/crane/pulls/comments/32092871","id":32092871,"diff_hunk":"@@ -42,8 +43,11 @@ func configCommand(wrapped func(config Config), forceOrder bool) func(cmd *cobra\n \t\t\t}\n \t\t}\n \n-\t\t// Set target from args\n-\t\toptions.target = args\n+\t\t// Set target and potentially command from args\n+\t\tif len(args) > 0 {\n+\t\t\toptions.target = strings.Split(args[0], \"+\")","path":"crane/cmd.go","position":16,"original_position":16,"commit_id":"1ce3e4027145ef0ecd8cb58638a7e02f5a090179","original_commit_id":"1ce3e4027145ef0ecd8cb58638a7e02f5a090179","user":{"login":"michaelsauter","id":215455,"avatar_url":"https://avatars.githubusercontent.com/u/215455?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsauter","html_url":"https://github.com/michaelsauter","followers_url":"https://api.github.com/users/michaelsauter/followers","following_url":"https://api.github.com/users/michaelsauter/following{/other_user}","gists_url":"https://api.github.com/users/michaelsauter/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsauter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsauter/subscriptions","organizations_url":"https://api.github.com/users/michaelsauter/orgs","repos_url":"https://api.github.com/users/michaelsauter/repos","events_url":"https://api.github.com/users/michaelsauter/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsauter/received_events","type":"User","site_admin":false},"body":"I don't want to drop the default group, I use that a lot. I might be missing something very obvious, but why does this prevent a default group? I guess it only prevents you from running a command against the default group without explicitly typing `default`. But you could still say `crane run`.","created_at":"2015-06-10T07:07:47Z","updated_at":"2015-06-10T07:07:47Z","html_url":"https://github.com/michaelsauter/crane/pull/198#discussion_r32092871","pull_request_url":"https://api.github.com/repos/michaelsauter/crane/pulls/198","_links":{"self":{"href":"https://api.github.com/repos/michaelsauter/crane/pulls/comments/32092871"},"html":{"href":"https://github.com/michaelsauter/crane/pull/198#discussion_r32092871"},"pull_request":{"href":"https://api.github.com/repos/michaelsauter/crane/pulls/198"}}},"pull_request":{"url":"https://api.github.com/repos/michaelsauter/crane/pulls/198","id":37264061,"html_url":"https://github.com/michaelsauter/crane/pull/198","diff_url":"https://github.com/michaelsauter/crane/pull/198.diff","patch_url":"https://github.com/michaelsauter/crane/pull/198.patch","issue_url":"https://api.github.com/repos/michaelsauter/crane/issues/198","number":198,"state":"open","locked":false,"title":"Hack to showcase passing commands to crane CLI","user":{"login":"michaelsauter","id":215455,"avatar_url":"https://avatars.githubusercontent.com/u/215455?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsauter","html_url":"https://github.com/michaelsauter","followers_url":"https://api.github.com/users/michaelsauter/followers","following_url":"https://api.github.com/users/michaelsauter/following{/other_user}","gists_url":"https://api.github.com/users/michaelsauter/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsauter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsauter/subscriptions","organizations_url":"https://api.github.com/users/michaelsauter/orgs","repos_url":"https://api.github.com/users/michaelsauter/repos","events_url":"https://api.github.com/users/michaelsauter/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsauter/received_events","type":"User","site_admin":false},"body":"This is a hack to partially implement what I was thinking for #195.\r\n\r\nFeedback and tests welcome.","created_at":"2015-06-09T15:11:05Z","updated_at":"2015-06-10T07:07:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7b5119e452525ba4053e8644d986b54fc980d71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/michaelsauter/crane/pulls/198/commits","review_comments_url":"https://api.github.com/repos/michaelsauter/crane/pulls/198/comments","review_comment_url":"https://api.github.com/repos/michaelsauter/crane/pulls/comments{/number}","comments_url":"https://api.github.com/repos/michaelsauter/crane/issues/198/comments","statuses_url":"https://api.github.com/repos/michaelsauter/crane/statuses/1ce3e4027145ef0ecd8cb58638a7e02f5a090179","head":{"label":"michaelsauter:run_cmd_hack","ref":"run_cmd_hack","sha":"1ce3e4027145ef0ecd8cb58638a7e02f5a090179","user":{"login":"michaelsauter","id":215455,"avatar_url":"https://avatars.githubusercontent.com/u/215455?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsauter","html_url":"https://github.com/michaelsauter","followers_url":"https://api.github.com/users/michaelsauter/followers","following_url":"https://api.github.com/users/michaelsauter/following{/other_user}","gists_url":"https://api.github.com/users/michaelsauter/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsauter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsauter/subscriptions","organizations_url":"https://api.github.com/users/michaelsauter/orgs","repos_url":"https://api.github.com/users/michaelsauter/repos","events_url":"https://api.github.com/users/michaelsauter/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsauter/received_events","type":"User","site_admin":false},"repo":{"id":14361608,"name":"crane","full_name":"michaelsauter/crane","owner":{"login":"michaelsauter","id":215455,"avatar_url":"https://avatars.githubusercontent.com/u/215455?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsauter","html_url":"https://github.com/michaelsauter","followers_url":"https://api.github.com/users/michaelsauter/followers","following_url":"https://api.github.com/users/michaelsauter/following{/other_user}","gists_url":"https://api.github.com/users/michaelsauter/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsauter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsauter/subscriptions","organizations_url":"https://api.github.com/users/michaelsauter/orgs","repos_url":"https://api.github.com/users/michaelsauter/repos","events_url":"https://api.github.com/users/michaelsauter/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsauter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelsauter/crane","description":"Crane - Lift containers with ease","fork":false,"url":"https://api.github.com/repos/michaelsauter/crane","forks_url":"https://api.github.com/repos/michaelsauter/crane/forks","keys_url":"https://api.github.com/repos/michaelsauter/crane/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelsauter/crane/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelsauter/crane/teams","hooks_url":"https://api.github.com/repos/michaelsauter/crane/hooks","issue_events_url":"https://api.github.com/repos/michaelsauter/crane/issues/events{/number}","events_url":"https://api.github.com/repos/michaelsauter/crane/events","assignees_url":"https://api.github.com/repos/michaelsauter/crane/assignees{/user}","branches_url":"https://api.github.com/repos/michaelsauter/crane/branches{/branch}","tags_url":"https://api.github.com/repos/michaelsauter/crane/tags","blobs_url":"https://api.github.com/repos/michaelsauter/crane/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelsauter/crane/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelsauter/crane/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelsauter/crane/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelsauter/crane/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelsauter/crane/languages","stargazers_url":"https://api.github.com/repos/michaelsauter/crane/stargazers","contributors_url":"https://api.github.com/repos/michaelsauter/crane/contributors","subscribers_url":"https://api.github.com/repos/michaelsauter/crane/subscribers","subscription_url":"https://api.github.com/repos/michaelsauter/crane/subscription","commits_url":"https://api.github.com/repos/michaelsauter/crane/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelsauter/crane/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelsauter/crane/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelsauter/crane/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelsauter/crane/contents/{+path}","compare_url":"https://api.github.com/repos/michaelsauter/crane/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelsauter/crane/merges","archive_url":"https://api.github.com/repos/michaelsauter/crane/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelsauter/crane/downloads","issues_url":"https://api.github.com/repos/michaelsauter/crane/issues{/number}","pulls_url":"https://api.github.com/repos/michaelsauter/crane/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelsauter/crane/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelsauter/crane/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelsauter/crane/labels{/name}","releases_url":"https://api.github.com/repos/michaelsauter/crane/releases{/id}","created_at":"2013-11-13T10:58:54Z","updated_at":"2015-06-08T03:22:48Z","pushed_at":"2015-06-09T15:11:05Z","git_url":"git://github.com/michaelsauter/crane.git","ssh_url":"git@github.com:michaelsauter/crane.git","clone_url":"https://github.com/michaelsauter/crane.git","svn_url":"https://github.com/michaelsauter/crane","homepage":null,"size":2765,"stargazers_count":438,"watchers_count":438,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":25,"forks":33,"open_issues":25,"watchers":438,"default_branch":"master"}},"base":{"label":"michaelsauter:master","ref":"master","sha":"82d830ecf13cb311ae59dd2b555100803b556f20","user":{"login":"michaelsauter","id":215455,"avatar_url":"https://avatars.githubusercontent.com/u/215455?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsauter","html_url":"https://github.com/michaelsauter","followers_url":"https://api.github.com/users/michaelsauter/followers","following_url":"https://api.github.com/users/michaelsauter/following{/other_user}","gists_url":"https://api.github.com/users/michaelsauter/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsauter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsauter/subscriptions","organizations_url":"https://api.github.com/users/michaelsauter/orgs","repos_url":"https://api.github.com/users/michaelsauter/repos","events_url":"https://api.github.com/users/michaelsauter/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsauter/received_events","type":"User","site_admin":false},"repo":{"id":14361608,"name":"crane","full_name":"michaelsauter/crane","owner":{"login":"michaelsauter","id":215455,"avatar_url":"https://avatars.githubusercontent.com/u/215455?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsauter","html_url":"https://github.com/michaelsauter","followers_url":"https://api.github.com/users/michaelsauter/followers","following_url":"https://api.github.com/users/michaelsauter/following{/other_user}","gists_url":"https://api.github.com/users/michaelsauter/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsauter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsauter/subscriptions","organizations_url":"https://api.github.com/users/michaelsauter/orgs","repos_url":"https://api.github.com/users/michaelsauter/repos","events_url":"https://api.github.com/users/michaelsauter/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsauter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelsauter/crane","description":"Crane - Lift containers with ease","fork":false,"url":"https://api.github.com/repos/michaelsauter/crane","forks_url":"https://api.github.com/repos/michaelsauter/crane/forks","keys_url":"https://api.github.com/repos/michaelsauter/crane/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelsauter/crane/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelsauter/crane/teams","hooks_url":"https://api.github.com/repos/michaelsauter/crane/hooks","issue_events_url":"https://api.github.com/repos/michaelsauter/crane/issues/events{/number}","events_url":"https://api.github.com/repos/michaelsauter/crane/events","assignees_url":"https://api.github.com/repos/michaelsauter/crane/assignees{/user}","branches_url":"https://api.github.com/repos/michaelsauter/crane/branches{/branch}","tags_url":"https://api.github.com/repos/michaelsauter/crane/tags","blobs_url":"https://api.github.com/repos/michaelsauter/crane/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelsauter/crane/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelsauter/crane/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelsauter/crane/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelsauter/crane/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelsauter/crane/languages","stargazers_url":"https://api.github.com/repos/michaelsauter/crane/stargazers","contributors_url":"https://api.github.com/repos/michaelsauter/crane/contributors","subscribers_url":"https://api.github.com/repos/michaelsauter/crane/subscribers","subscription_url":"https://api.github.com/repos/michaelsauter/crane/subscription","commits_url":"https://api.github.com/repos/michaelsauter/crane/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelsauter/crane/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelsauter/crane/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelsauter/crane/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelsauter/crane/contents/{+path}","compare_url":"https://api.github.com/repos/michaelsauter/crane/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelsauter/crane/merges","archive_url":"https://api.github.com/repos/michaelsauter/crane/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelsauter/crane/downloads","issues_url":"https://api.github.com/repos/michaelsauter/crane/issues{/number}","pulls_url":"https://api.github.com/repos/michaelsauter/crane/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelsauter/crane/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelsauter/crane/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelsauter/crane/labels{/name}","releases_url":"https://api.github.com/repos/michaelsauter/crane/releases{/id}","created_at":"2013-11-13T10:58:54Z","updated_at":"2015-06-08T03:22:48Z","pushed_at":"2015-06-09T15:11:05Z","git_url":"git://github.com/michaelsauter/crane.git","ssh_url":"git@github.com:michaelsauter/crane.git","clone_url":"https://github.com/michaelsauter/crane.git","svn_url":"https://github.com/michaelsauter/crane","homepage":null,"size":2765,"stargazers_count":438,"watchers_count":438,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":25,"forks":33,"open_issues":25,"watchers":438,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/michaelsauter/crane/pulls/198"},"html":{"href":"https://github.com/michaelsauter/crane/pull/198"},"issue":{"href":"https://api.github.com/repos/michaelsauter/crane/issues/198"},"comments":{"href":"https://api.github.com/repos/michaelsauter/crane/issues/198/comments"},"review_comments":{"href":"https://api.github.com/repos/michaelsauter/crane/pulls/198/comments"},"review_comment":{"href":"https://api.github.com/repos/michaelsauter/crane/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/michaelsauter/crane/pulls/198/commits"},"statuses":{"href":"https://api.github.com/repos/michaelsauter/crane/statuses/1ce3e4027145ef0ecd8cb58638a7e02f5a090179"}}}}