{"action":"created","comment":{"url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/comments/46397188","id":46397188,"diff_hunk":"@@ -21,9 +21,9 @@ func NewApplications(network *net.Network) (cmd *Applications) {\n \n func (cmd *Applications) Metadata() command_metadata.CommandMetadata {\n \treturn command_metadata.CommandMetadata{\n-\t\tName:        \"applications\",\n+\t\tName:        \"application\",\n \t\tDescription: \"Show the status and location of running applications\",\n-\t\tUsage:       \"BROOKLYN_NAME applications\",","path":"commands/applications.go","position":27,"original_position":27,"commit_id":"108ce33373c0a4559dd017e3af04ca5d922783a0","original_commit_id":"108ce33373c0a4559dd017e3af04ca5d922783a0","user":{"login":"robertgmoss","id":1054185,"avatar_url":"https://avatars.githubusercontent.com/u/1054185?v=3","gravatar_id":"","url":"https://api.github.com/users/robertgmoss","html_url":"https://github.com/robertgmoss","followers_url":"https://api.github.com/users/robertgmoss/followers","following_url":"https://api.github.com/users/robertgmoss/following{/other_user}","gists_url":"https://api.github.com/users/robertgmoss/gists{/gist_id}","starred_url":"https://api.github.com/users/robertgmoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertgmoss/subscriptions","organizations_url":"https://api.github.com/users/robertgmoss/orgs","repos_url":"https://api.github.com/users/robertgmoss/repos","events_url":"https://api.github.com/users/robertgmoss/events{/privacy}","received_events_url":"https://api.github.com/users/robertgmoss/received_events","type":"User","site_admin":false},"body":"Maybe so, but adds good work related to subcommands, so still worth merging","created_at":"2015-12-02T10:18:20Z","updated_at":"2015-12-02T10:18:20Z","html_url":"https://github.com/brooklyncentral/brooklyn-cli/pull/3#discussion_r46397188","pull_request_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/comments/46397188"},"html":{"href":"https://github.com/brooklyncentral/brooklyn-cli/pull/3#discussion_r46397188"},"pull_request":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3","id":52015993,"html_url":"https://github.com/brooklyncentral/brooklyn-cli/pull/3","diff_url":"https://github.com/brooklyncentral/brooklyn-cli/pull/3.diff","patch_url":"https://github.com/brooklyncentral/brooklyn-cli/pull/3.patch","issue_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/3","number":3,"state":"open","locked":false,"title":"Add initial capability for verb-noun commands.","user":{"login":"geomacy","id":14142759,"avatar_url":"https://avatars.githubusercontent.com/u/14142759?v=3","gravatar_id":"","url":"https://api.github.com/users/geomacy","html_url":"https://github.com/geomacy","followers_url":"https://api.github.com/users/geomacy/followers","following_url":"https://api.github.com/users/geomacy/following{/other_user}","gists_url":"https://api.github.com/users/geomacy/gists{/gist_id}","starred_url":"https://api.github.com/users/geomacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geomacy/subscriptions","organizations_url":"https://api.github.com/users/geomacy/orgs","repos_url":"https://api.github.com/users/geomacy/repos","events_url":"https://api.github.com/users/geomacy/events{/privacy}","received_events_url":"https://api.github.com/users/geomacy/received_events","type":"User","site_admin":false},"body":"This adds the capability of the CLI doing verb-noun style commands, using\r\ncodegansta's SubCommand capability.  By verb-noun we mean commands like\r\n\"list application\" rather than \"application list\".\r\n\r\nThis commit adds code to support verb-noun, and does a proof-of-concept for\r\nit by re-implementing the \"applications\" command as \"list application\". For\r\nthe moment it does not remove \"applications\".\r\n\r\nFor example:\r\n\r\n$ bk create ~/myweb.yaml\r\nresponse Status: 201 Created\r\n...\r\n$ bk applications\r\nId         Name             Status    Location\r\naoCeWY0f   My Web Cluster   RUNNING   LXEMPWA4\r\n$\r\n$ bk list application\r\nId         Name             Status    Location\r\naoCeWY0f   My Web Cluster   RUNNING   LXEMPWA4","created_at":"2015-11-27T17:46:04Z","updated_at":"2015-12-02T10:18:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35a3131cb8664c7fee780d2268173e5dd7c1765a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3/commits","review_comments_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3/comments","review_comment_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/3/comments","statuses_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/statuses/108ce33373c0a4559dd017e3af04ca5d922783a0","head":{"label":"brooklyncentral:cli-list","ref":"cli-list","sha":"108ce33373c0a4559dd017e3af04ca5d922783a0","user":{"login":"brooklyncentral","id":1587357,"avatar_url":"https://avatars.githubusercontent.com/u/1587357?v=3","gravatar_id":"","url":"https://api.github.com/users/brooklyncentral","html_url":"https://github.com/brooklyncentral","followers_url":"https://api.github.com/users/brooklyncentral/followers","following_url":"https://api.github.com/users/brooklyncentral/following{/other_user}","gists_url":"https://api.github.com/users/brooklyncentral/gists{/gist_id}","starred_url":"https://api.github.com/users/brooklyncentral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brooklyncentral/subscriptions","organizations_url":"https://api.github.com/users/brooklyncentral/orgs","repos_url":"https://api.github.com/users/brooklyncentral/repos","events_url":"https://api.github.com/users/brooklyncentral/events{/privacy}","received_events_url":"https://api.github.com/users/brooklyncentral/received_events","type":"Organization","site_admin":false},"repo":{"id":33272064,"name":"brooklyn-cli","full_name":"brooklyncentral/brooklyn-cli","owner":{"login":"brooklyncentral","id":1587357,"avatar_url":"https://avatars.githubusercontent.com/u/1587357?v=3","gravatar_id":"","url":"https://api.github.com/users/brooklyncentral","html_url":"https://github.com/brooklyncentral","followers_url":"https://api.github.com/users/brooklyncentral/followers","following_url":"https://api.github.com/users/brooklyncentral/following{/other_user}","gists_url":"https://api.github.com/users/brooklyncentral/gists{/gist_id}","starred_url":"https://api.github.com/users/brooklyncentral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brooklyncentral/subscriptions","organizations_url":"https://api.github.com/users/brooklyncentral/orgs","repos_url":"https://api.github.com/users/brooklyncentral/repos","events_url":"https://api.github.com/users/brooklyncentral/events{/privacy}","received_events_url":"https://api.github.com/users/brooklyncentral/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brooklyncentral/brooklyn-cli","description":"Go CLI client for Brooklyn REST API","fork":false,"url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli","forks_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/forks","keys_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/teams","hooks_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/hooks","issue_events_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/events{/number}","events_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/events","assignees_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/assignees{/user}","branches_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/branches{/branch}","tags_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/tags","blobs_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/languages","stargazers_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/stargazers","contributors_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/contributors","subscribers_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/subscribers","subscription_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/subscription","commits_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/contents/{+path}","compare_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/merges","archive_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/downloads","issues_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues{/number}","pulls_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/labels{/name}","releases_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/releases{/id}","created_at":"2015-04-01T20:45:53Z","updated_at":"2015-10-20T13:43:48Z","pushed_at":"2015-12-01T13:33:34Z","git_url":"git://github.com/brooklyncentral/brooklyn-cli.git","ssh_url":"git@github.com:brooklyncentral/brooklyn-cli.git","clone_url":"https://github.com/brooklyncentral/brooklyn-cli.git","svn_url":"https://github.com/brooklyncentral/brooklyn-cli","homepage":null,"size":93,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"brooklyncentral:master","ref":"master","sha":"34a28dd9cc7f62fb9cee55bd886216df8c4c008b","user":{"login":"brooklyncentral","id":1587357,"avatar_url":"https://avatars.githubusercontent.com/u/1587357?v=3","gravatar_id":"","url":"https://api.github.com/users/brooklyncentral","html_url":"https://github.com/brooklyncentral","followers_url":"https://api.github.com/users/brooklyncentral/followers","following_url":"https://api.github.com/users/brooklyncentral/following{/other_user}","gists_url":"https://api.github.com/users/brooklyncentral/gists{/gist_id}","starred_url":"https://api.github.com/users/brooklyncentral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brooklyncentral/subscriptions","organizations_url":"https://api.github.com/users/brooklyncentral/orgs","repos_url":"https://api.github.com/users/brooklyncentral/repos","events_url":"https://api.github.com/users/brooklyncentral/events{/privacy}","received_events_url":"https://api.github.com/users/brooklyncentral/received_events","type":"Organization","site_admin":false},"repo":{"id":33272064,"name":"brooklyn-cli","full_name":"brooklyncentral/brooklyn-cli","owner":{"login":"brooklyncentral","id":1587357,"avatar_url":"https://avatars.githubusercontent.com/u/1587357?v=3","gravatar_id":"","url":"https://api.github.com/users/brooklyncentral","html_url":"https://github.com/brooklyncentral","followers_url":"https://api.github.com/users/brooklyncentral/followers","following_url":"https://api.github.com/users/brooklyncentral/following{/other_user}","gists_url":"https://api.github.com/users/brooklyncentral/gists{/gist_id}","starred_url":"https://api.github.com/users/brooklyncentral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brooklyncentral/subscriptions","organizations_url":"https://api.github.com/users/brooklyncentral/orgs","repos_url":"https://api.github.com/users/brooklyncentral/repos","events_url":"https://api.github.com/users/brooklyncentral/events{/privacy}","received_events_url":"https://api.github.com/users/brooklyncentral/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brooklyncentral/brooklyn-cli","description":"Go CLI client for Brooklyn REST API","fork":false,"url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli","forks_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/forks","keys_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/teams","hooks_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/hooks","issue_events_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/events{/number}","events_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/events","assignees_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/assignees{/user}","branches_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/branches{/branch}","tags_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/tags","blobs_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/languages","stargazers_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/stargazers","contributors_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/contributors","subscribers_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/subscribers","subscription_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/subscription","commits_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/contents/{+path}","compare_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/merges","archive_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/downloads","issues_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues{/number}","pulls_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/labels{/name}","releases_url":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/releases{/id}","created_at":"2015-04-01T20:45:53Z","updated_at":"2015-10-20T13:43:48Z","pushed_at":"2015-12-01T13:33:34Z","git_url":"git://github.com/brooklyncentral/brooklyn-cli.git","ssh_url":"git@github.com:brooklyncentral/brooklyn-cli.git","clone_url":"https://github.com/brooklyncentral/brooklyn-cli.git","svn_url":"https://github.com/brooklyncentral/brooklyn-cli","homepage":null,"size":93,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3"},"html":{"href":"https://github.com/brooklyncentral/brooklyn-cli/pull/3"},"issue":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/3"},"comments":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/brooklyncentral/brooklyn-cli/statuses/108ce33373c0a4559dd017e3af04ca5d922783a0"}}}}