{"action":"created","comment":{"url":"https://api.github.com/repos/quintilesims/layer0/pulls/comments/146391816","pull_request_review_id":71310604,"id":146391816,"diff_hunk":"@@ -16,3 +20,21 @@ func extractArgs(received []string, names ...string) (map[string]string, error)\n \n \treturn args, nil\n }\n+\n+func buildLogQueryHelper(id, start, end string, tail int) url.Values {","path":"cli/command/utils.go","position":16,"original_position":16,"commit_id":"2a3fa03a2d18f894de0700eb8afb3bf719f277f4","original_commit_id":"2a3fa03a2d18f894de0700eb8afb3bf719f277f4","user":{"login":"zpatrick","id":2894436,"avatar_url":"https://avatars2.githubusercontent.com/u/2894436?v=4","gravatar_id":"","url":"https://api.github.com/users/zpatrick","html_url":"https://github.com/zpatrick","followers_url":"https://api.github.com/users/zpatrick/followers","following_url":"https://api.github.com/users/zpatrick/following{/other_user}","gists_url":"https://api.github.com/users/zpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/zpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpatrick/subscriptions","organizations_url":"https://api.github.com/users/zpatrick/orgs","repos_url":"https://api.github.com/users/zpatrick/repos","events_url":"https://api.github.com/users/zpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/zpatrick/received_events","type":"User","site_admin":false},"body":"this doesn't need/use the `id` param","created_at":"2017-10-23T20:57:48Z","updated_at":"2017-10-23T21:02:54Z","html_url":"https://github.com/quintilesims/layer0/pull/387#discussion_r146391816","pull_request_url":"https://api.github.com/repos/quintilesims/layer0/pulls/387","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/quintilesims/layer0/pulls/comments/146391816"},"html":{"href":"https://github.com/quintilesims/layer0/pull/387#discussion_r146391816"},"pull_request":{"href":"https://api.github.com/repos/quintilesims/layer0/pulls/387"}}},"pull_request":{"url":"https://api.github.com/repos/quintilesims/layer0/pulls/387","id":145997785,"html_url":"https://github.com/quintilesims/layer0/pull/387","diff_url":"https://github.com/quintilesims/layer0/pull/387.diff","patch_url":"https://github.com/quintilesims/layer0/pull/387.patch","issue_url":"https://api.github.com/repos/quintilesims/layer0/issues/387","number":387,"state":"open","locked":false,"title":"Add cli command task","user":{"login":"nehayward","id":6733030,"avatar_url":"https://avatars1.githubusercontent.com/u/6733030?v=4","gravatar_id":"","url":"https://api.github.com/users/nehayward","html_url":"https://github.com/nehayward","followers_url":"https://api.github.com/users/nehayward/followers","following_url":"https://api.github.com/users/nehayward/following{/other_user}","gists_url":"https://api.github.com/users/nehayward/gists{/gist_id}","starred_url":"https://api.github.com/users/nehayward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehayward/subscriptions","organizations_url":"https://api.github.com/users/nehayward/orgs","repos_url":"https://api.github.com/users/nehayward/repos","events_url":"https://api.github.com/users/nehayward/events{/privacy}","received_events_url":"https://api.github.com/users/nehayward/received_events","type":"User","site_admin":false},"body":"**What does this pull request do?**\r\nThis adds cli commands for CRD operations on task.\r\n\r\n**How should this be tested?**\r\nManually running `cd /cli && go run main.go` with various list, create, read, delete functions.\r\n\r\n\r\n**Checklist**\r\n- [x] Unit tests\r\n","created_at":"2017-10-11T16:19:14Z","updated_at":"2017-10-23T21:02:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bd8c43e01c6bdea5dc0c1b7013bb1d34ad0538a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/quintilesims/layer0/pulls/387/commits","review_comments_url":"https://api.github.com/repos/quintilesims/layer0/pulls/387/comments","review_comment_url":"https://api.github.com/repos/quintilesims/layer0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quintilesims/layer0/issues/387/comments","statuses_url":"https://api.github.com/repos/quintilesims/layer0/statuses/2a3fa03a2d18f894de0700eb8afb3bf719f277f4","head":{"label":"quintilesims:add-task","ref":"add-task","sha":"2a3fa03a2d18f894de0700eb8afb3bf719f277f4","user":{"login":"quintilesims","id":23506699,"avatar_url":"https://avatars2.githubusercontent.com/u/23506699?v=4","gravatar_id":"","url":"https://api.github.com/users/quintilesims","html_url":"https://github.com/quintilesims","followers_url":"https://api.github.com/users/quintilesims/followers","following_url":"https://api.github.com/users/quintilesims/following{/other_user}","gists_url":"https://api.github.com/users/quintilesims/gists{/gist_id}","starred_url":"https://api.github.com/users/quintilesims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintilesims/subscriptions","organizations_url":"https://api.github.com/users/quintilesims/orgs","repos_url":"https://api.github.com/users/quintilesims/repos","events_url":"https://api.github.com/users/quintilesims/events{/privacy}","received_events_url":"https://api.github.com/users/quintilesims/received_events","type":"Organization","site_admin":false},"repo":{"id":74167056,"name":"layer0","full_name":"quintilesims/layer0","owner":{"login":"quintilesims","id":23506699,"avatar_url":"https://avatars2.githubusercontent.com/u/23506699?v=4","gravatar_id":"","url":"https://api.github.com/users/quintilesims","html_url":"https://github.com/quintilesims","followers_url":"https://api.github.com/users/quintilesims/followers","following_url":"https://api.github.com/users/quintilesims/following{/other_user}","gists_url":"https://api.github.com/users/quintilesims/gists{/gist_id}","starred_url":"https://api.github.com/users/quintilesims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintilesims/subscriptions","organizations_url":"https://api.github.com/users/quintilesims/orgs","repos_url":"https://api.github.com/users/quintilesims/repos","events_url":"https://api.github.com/users/quintilesims/events{/privacy}","received_events_url":"https://api.github.com/users/quintilesims/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quintilesims/layer0","description":"Build, Manage, and Deploy Your Applications","fork":false,"url":"https://api.github.com/repos/quintilesims/layer0","forks_url":"https://api.github.com/repos/quintilesims/layer0/forks","keys_url":"https://api.github.com/repos/quintilesims/layer0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quintilesims/layer0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quintilesims/layer0/teams","hooks_url":"https://api.github.com/repos/quintilesims/layer0/hooks","issue_events_url":"https://api.github.com/repos/quintilesims/layer0/issues/events{/number}","events_url":"https://api.github.com/repos/quintilesims/layer0/events","assignees_url":"https://api.github.com/repos/quintilesims/layer0/assignees{/user}","branches_url":"https://api.github.com/repos/quintilesims/layer0/branches{/branch}","tags_url":"https://api.github.com/repos/quintilesims/layer0/tags","blobs_url":"https://api.github.com/repos/quintilesims/layer0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quintilesims/layer0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quintilesims/layer0/git/refs{/sha}","trees_url":"https://api.github.com/repos/quintilesims/layer0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quintilesims/layer0/statuses/{sha}","languages_url":"https://api.github.com/repos/quintilesims/layer0/languages","stargazers_url":"https://api.github.com/repos/quintilesims/layer0/stargazers","contributors_url":"https://api.github.com/repos/quintilesims/layer0/contributors","subscribers_url":"https://api.github.com/repos/quintilesims/layer0/subscribers","subscription_url":"https://api.github.com/repos/quintilesims/layer0/subscription","commits_url":"https://api.github.com/repos/quintilesims/layer0/commits{/sha}","git_commits_url":"https://api.github.com/repos/quintilesims/layer0/git/commits{/sha}","comments_url":"https://api.github.com/repos/quintilesims/layer0/comments{/number}","issue_comment_url":"https://api.github.com/repos/quintilesims/layer0/issues/comments{/number}","contents_url":"https://api.github.com/repos/quintilesims/layer0/contents/{+path}","compare_url":"https://api.github.com/repos/quintilesims/layer0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quintilesims/layer0/merges","archive_url":"https://api.github.com/repos/quintilesims/layer0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quintilesims/layer0/downloads","issues_url":"https://api.github.com/repos/quintilesims/layer0/issues{/number}","pulls_url":"https://api.github.com/repos/quintilesims/layer0/pulls{/number}","milestones_url":"https://api.github.com/repos/quintilesims/layer0/milestones{/number}","notifications_url":"https://api.github.com/repos/quintilesims/layer0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quintilesims/layer0/labels{/name}","releases_url":"https://api.github.com/repos/quintilesims/layer0/releases{/id}","deployments_url":"https://api.github.com/repos/quintilesims/layer0/deployments","created_at":"2016-11-18T21:18:34Z","updated_at":"2017-10-17T19:54:24Z","pushed_at":"2017-10-23T19:51:38Z","git_url":"git://github.com/quintilesims/layer0.git","ssh_url":"git@github.com:quintilesims/layer0.git","clone_url":"https://github.com/quintilesims/layer0.git","svn_url":"https://github.com/quintilesims/layer0","homepage":"","size":51436,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":35,"forks":2,"open_issues":35,"watchers":23,"default_branch":"develop"}},"base":{"label":"quintilesims:cli-refactor","ref":"cli-refactor","sha":"043c7071992dc5e2527d4d3581c26b89cd0c49ee","user":{"login":"quintilesims","id":23506699,"avatar_url":"https://avatars2.githubusercontent.com/u/23506699?v=4","gravatar_id":"","url":"https://api.github.com/users/quintilesims","html_url":"https://github.com/quintilesims","followers_url":"https://api.github.com/users/quintilesims/followers","following_url":"https://api.github.com/users/quintilesims/following{/other_user}","gists_url":"https://api.github.com/users/quintilesims/gists{/gist_id}","starred_url":"https://api.github.com/users/quintilesims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintilesims/subscriptions","organizations_url":"https://api.github.com/users/quintilesims/orgs","repos_url":"https://api.github.com/users/quintilesims/repos","events_url":"https://api.github.com/users/quintilesims/events{/privacy}","received_events_url":"https://api.github.com/users/quintilesims/received_events","type":"Organization","site_admin":false},"repo":{"id":74167056,"name":"layer0","full_name":"quintilesims/layer0","owner":{"login":"quintilesims","id":23506699,"avatar_url":"https://avatars2.githubusercontent.com/u/23506699?v=4","gravatar_id":"","url":"https://api.github.com/users/quintilesims","html_url":"https://github.com/quintilesims","followers_url":"https://api.github.com/users/quintilesims/followers","following_url":"https://api.github.com/users/quintilesims/following{/other_user}","gists_url":"https://api.github.com/users/quintilesims/gists{/gist_id}","starred_url":"https://api.github.com/users/quintilesims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintilesims/subscriptions","organizations_url":"https://api.github.com/users/quintilesims/orgs","repos_url":"https://api.github.com/users/quintilesims/repos","events_url":"https://api.github.com/users/quintilesims/events{/privacy}","received_events_url":"https://api.github.com/users/quintilesims/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quintilesims/layer0","description":"Build, Manage, and Deploy Your Applications","fork":false,"url":"https://api.github.com/repos/quintilesims/layer0","forks_url":"https://api.github.com/repos/quintilesims/layer0/forks","keys_url":"https://api.github.com/repos/quintilesims/layer0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quintilesims/layer0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quintilesims/layer0/teams","hooks_url":"https://api.github.com/repos/quintilesims/layer0/hooks","issue_events_url":"https://api.github.com/repos/quintilesims/layer0/issues/events{/number}","events_url":"https://api.github.com/repos/quintilesims/layer0/events","assignees_url":"https://api.github.com/repos/quintilesims/layer0/assignees{/user}","branches_url":"https://api.github.com/repos/quintilesims/layer0/branches{/branch}","tags_url":"https://api.github.com/repos/quintilesims/layer0/tags","blobs_url":"https://api.github.com/repos/quintilesims/layer0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quintilesims/layer0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quintilesims/layer0/git/refs{/sha}","trees_url":"https://api.github.com/repos/quintilesims/layer0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quintilesims/layer0/statuses/{sha}","languages_url":"https://api.github.com/repos/quintilesims/layer0/languages","stargazers_url":"https://api.github.com/repos/quintilesims/layer0/stargazers","contributors_url":"https://api.github.com/repos/quintilesims/layer0/contributors","subscribers_url":"https://api.github.com/repos/quintilesims/layer0/subscribers","subscription_url":"https://api.github.com/repos/quintilesims/layer0/subscription","commits_url":"https://api.github.com/repos/quintilesims/layer0/commits{/sha}","git_commits_url":"https://api.github.com/repos/quintilesims/layer0/git/commits{/sha}","comments_url":"https://api.github.com/repos/quintilesims/layer0/comments{/number}","issue_comment_url":"https://api.github.com/repos/quintilesims/layer0/issues/comments{/number}","contents_url":"https://api.github.com/repos/quintilesims/layer0/contents/{+path}","compare_url":"https://api.github.com/repos/quintilesims/layer0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quintilesims/layer0/merges","archive_url":"https://api.github.com/repos/quintilesims/layer0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quintilesims/layer0/downloads","issues_url":"https://api.github.com/repos/quintilesims/layer0/issues{/number}","pulls_url":"https://api.github.com/repos/quintilesims/layer0/pulls{/number}","milestones_url":"https://api.github.com/repos/quintilesims/layer0/milestones{/number}","notifications_url":"https://api.github.com/repos/quintilesims/layer0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quintilesims/layer0/labels{/name}","releases_url":"https://api.github.com/repos/quintilesims/layer0/releases{/id}","deployments_url":"https://api.github.com/repos/quintilesims/layer0/deployments","created_at":"2016-11-18T21:18:34Z","updated_at":"2017-10-17T19:54:24Z","pushed_at":"2017-10-23T19:51:38Z","git_url":"git://github.com/quintilesims/layer0.git","ssh_url":"git@github.com:quintilesims/layer0.git","clone_url":"https://github.com/quintilesims/layer0.git","svn_url":"https://github.com/quintilesims/layer0","homepage":"","size":51436,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":35,"forks":2,"open_issues":35,"watchers":23,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/quintilesims/layer0/pulls/387"},"html":{"href":"https://github.com/quintilesims/layer0/pull/387"},"issue":{"href":"https://api.github.com/repos/quintilesims/layer0/issues/387"},"comments":{"href":"https://api.github.com/repos/quintilesims/layer0/issues/387/comments"},"review_comments":{"href":"https://api.github.com/repos/quintilesims/layer0/pulls/387/comments"},"review_comment":{"href":"https://api.github.com/repos/quintilesims/layer0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quintilesims/layer0/pulls/387/commits"},"statuses":{"href":"https://api.github.com/repos/quintilesims/layer0/statuses/2a3fa03a2d18f894de0700eb8afb3bf719f277f4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zpatrick"}}