GitHub PullRequestEvent at 2014-01-04 16:44:09
Repository: cli
Actor: gregb
Payload: {"action":"opened","number":59,"pull_request":{"url":"https://api.github.com/repos/codegangsta/cli/pulls/59","id":11229423,"html_url":"https://github.com/codegangsta/cli/pull/59","diff_url":"https://github.com/codegangsta/cli/pull/59.diff","patch_url":"https://github.com/codegangsta/cli/pull/59.patch","issue_url":"https://github.com/codegangsta/cli/pull/59","number":59,"state":"open","title":"Add a function to an app to be run before any subcommands are run","user":{"login":"gregb","id":643817,"avatar_url":"https://gravatar.com/avatar/8d9b259efed251d2d3a1e40192522cbc?d=https%3A%2F%2Fidenticons.github.com%2F8f739e932be38b7dd966641561680e3e.png&r=x","gravatar_id":"8d9b259efed251d2d3a1e40192522cbc","url":"https://api.github.com/users/gregb","html_url":"https://github.com/gregb","followers_url":"https://api.github.com/users/gregb/followers","following_url":"https://api.github.com/users/gregb/following{/other_user}","gists_url":"https://api.github.com/users/gregb/gists{/gist_id}","starred_url":"https://api.github.com/users/gregb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregb/subscriptions","organizations_url":"https://api.github.com/users/gregb/orgs","repos_url":"https://api.github.com/users/gregb/repos","events_url":"https://api.github.com/users/gregb/events{/privacy}","received_events_url":"https://api.github.com/users/gregb/received_events","type":"User","site_admin":false},"body":"Useful for things like loading a config file needed by all subcommands, but whose name needs to be specified as a global option.","created_at":"2014-01-04T16:44:09Z","updated_at":"2014-01-04T16:44:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://github.com/codegangsta/cli/pull/59/commits","review_comments_url":"https://github.com/codegangsta/cli/pull/59/comments","review_comment_url":"/repos/codegangsta/cli/pulls/comments/{number}","comments_url":"https://api.github.com/repos/codegangsta/cli/issues/59/comments","statuses_url":"https://api.github.com/repos/codegangsta/cli/statuses/330653fd7897abac8e9c450a8c2b84ec94f27927","head":{"label":"gregb:beforefunc","ref":"beforefunc","sha":"330653fd7897abac8e9c450a8c2b84ec94f27927","user":{"login":"gregb","id":643817,"avatar_url":"https://gravatar.com/avatar/8d9b259efed251d2d3a1e40192522cbc?d=https%3A%2F%2Fidenticons.github.com%2F8f739e932be38b7dd966641561680e3e.png&r=x","gravatar_id":"8d9b259efed251d2d3a1e40192522cbc","url":"https://api.github.com/users/gregb","html_url":"https://github.com/gregb","followers_url":"https://api.github.com/users/gregb/followers","following_url":"https://api.github.com/users/gregb/following{/other_user}","gists_url":"https://api.github.com/users/gregb/gists{/gist_id}","starred_url":"https://api.github.com/users/gregb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregb/subscriptions","organizations_url":"https://api.github.com/users/gregb/orgs","repos_url":"https://api.github.com/users/gregb/repos","events_url":"https://api.github.com/users/gregb/events{/privacy}","received_events_url":"https://api.github.com/users/gregb/received_events","type":"User","site_admin":false},"repo":{"id":15569733,"name":"cli","full_name":"gregb/cli","owner":{"login":"gregb","id":643817,"avatar_url":"https://gravatar.com/avatar/8d9b259efed251d2d3a1e40192522cbc?d=https%3A%2F%2Fidenticons.github.com%2F8f739e932be38b7dd966641561680e3e.png&r=x","gravatar_id":"8d9b259efed251d2d3a1e40192522cbc","url":"https://api.github.com/users/gregb","html_url":"https://github.com/gregb","followers_url":"https://api.github.com/users/gregb/followers","following_url":"https://api.github.com/users/gregb/following{/other_user}","gists_url":"https://api.github.com/users/gregb/gists{/gist_id}","starred_url":"https://api.github.com/users/gregb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregb/subscriptions","organizations_url":"https://api.github.com/users/gregb/orgs","repos_url":"https://api.github.com/users/gregb/repos","events_url":"https://api.github.com/users/gregb/events{/privacy}","received_events_url":"https://api.github.com/users/gregb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gregb/cli","description":"A small package for building command line apps in Go","fork":true,"url":"https://api.github.com/repos/gregb/cli","forks_url":"https://api.github.com/repos/gregb/cli/forks","keys_url":"https://api.github.com/repos/gregb/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gregb/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gregb/cli/teams","hooks_url":"https://api.github.com/repos/gregb/cli/hooks","issue_events_url":"https://api.github.com/repos/gregb/cli/issues/events{/number}","events_url":"https://api.github.com/repos/gregb/cli/events","assignees_url":"https://api.github.com/repos/gregb/cli/assignees{/user}","branches_url":"https://api.github.com/repos/gregb/cli/branches{/branch}","tags_url":"https://api.github.com/repos/gregb/cli/tags","blobs_url":"https://api.github.com/repos/gregb/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gregb/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gregb/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/gregb/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gregb/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/gregb/cli/languages","stargazers_url":"https://api.github.com/repos/gregb/cli/stargazers","contributors_url":"https://api.github.com/repos/gregb/cli/contributors","subscribers_url":"https://api.github.com/repos/gregb/cli/subscribers","subscription_url":"https://api.github.com/repos/gregb/cli/subscription","commits_url":"https://api.github.com/repos/gregb/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/gregb/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/gregb/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/gregb/cli/issues/comments/{number}","contents_url":"https://api.github.com/repos/gregb/cli/contents/{+path}","compare_url":"https://api.github.com/repos/gregb/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gregb/cli/merges","archive_url":"https://api.github.com/repos/gregb/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gregb/cli/downloads","issues_url":"https://api.github.com/repos/gregb/cli/issues{/number}","pulls_url":"https://api.github.com/repos/gregb/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/gregb/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/gregb/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gregb/cli/labels{/name}","releases_url":"https://api.github.com/repos/gregb/cli/releases{/id}","created_at":"2014-01-01T20:34:34Z","updated_at":"2014-01-04T16:44:09Z","pushed_at":"2014-01-04T16:38:05Z","git_url":"git://github.com/gregb/cli.git","ssh_url":"git@github.com:gregb/cli.git","clone_url":"https://github.com/gregb/cli.git","svn_url":"https://github.com/gregb/cli","homepage":"","size":185,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"codegangsta:master","ref":"master","sha":"eb027661af08a193a5f8a33528a44a80e9dc58ae","user":{"login":"codegangsta","id":178316,"avatar_url":"https://gravatar.com/avatar/20aaf9520b0aeef2beb28afc25c61784?d=https%3A%2F%2Fidenticons.github.com%2Fe1e1e3fc8c15cfa98d47b605f8a7926a.png&r=x","gravatar_id":"20aaf9520b0aeef2beb28afc25c61784","url":"https://api.github.com/users/codegangsta","html_url":"https://github.com/codegangsta","followers_url":"https://api.github.com/users/codegangsta/followers","following_url":"https://api.github.com/users/codegangsta/following{/other_user}","gists_url":"https://api.github.com/users/codegangsta/gists{/gist_id}","starred_url":"https://api.github.com/users/codegangsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegangsta/subscriptions","organizations_url":"https://api.github.com/users/codegangsta/orgs","repos_url":"https://api.github.com/users/codegangsta/repos","events_url":"https://api.github.com/users/codegangsta/events{/privacy}","received_events_url":"https://api.github.com/users/codegangsta/received_events","type":"User","site_admin":false},"repo":{"id":11393110,"name":"cli","full_name":"codegangsta/cli","owner":{"login":"codegangsta","id":178316,"avatar_url":"https://gravatar.com/avatar/20aaf9520b0aeef2beb28afc25c61784?d=https%3A%2F%2Fidenticons.github.com%2Fe1e1e3fc8c15cfa98d47b605f8a7926a.png&r=x","gravatar_id":"20aaf9520b0aeef2beb28afc25c61784","url":"https://api.github.com/users/codegangsta","html_url":"https://github.com/codegangsta","followers_url":"https://api.github.com/users/codegangsta/followers","following_url":"https://api.github.com/users/codegangsta/following{/other_user}","gists_url":"https://api.github.com/users/codegangsta/gists{/gist_id}","starred_url":"https://api.github.com/users/codegangsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegangsta/subscriptions","organizations_url":"https://api.github.com/users/codegangsta/orgs","repos_url":"https://api.github.com/users/codegangsta/repos","events_url":"https://api.github.com/users/codegangsta/events{/privacy}","received_events_url":"https://api.github.com/users/codegangsta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codegangsta/cli","description":"A small package for building command line apps in Go","fork":false,"url":"https://api.github.com/repos/codegangsta/cli","forks_url":"https://api.github.com/repos/codegangsta/cli/forks","keys_url":"https://api.github.com/repos/codegangsta/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codegangsta/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codegangsta/cli/teams","hooks_url":"https://api.github.com/repos/codegangsta/cli/hooks","issue_events_url":"https://api.github.com/repos/codegangsta/cli/issues/events{/number}","events_url":"https://api.github.com/repos/codegangsta/cli/events","assignees_url":"https://api.github.com/repos/codegangsta/cli/assignees{/user}","branches_url":"https://api.github.com/repos/codegangsta/cli/branches{/branch}","tags_url":"https://api.github.com/repos/codegangsta/cli/tags","blobs_url":"https://api.github.com/repos/codegangsta/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codegangsta/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codegangsta/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/codegangsta/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codegangsta/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/codegangsta/cli/languages","stargazers_url":"https://api.github.com/repos/codegangsta/cli/stargazers","contributors_url":"https://api.github.com/repos/codegangsta/cli/contributors","subscribers_url":"https://api.github.com/repos/codegangsta/cli/subscribers","subscription_url":"https://api.github.com/repos/codegangsta/cli/subscription","commits_url":"https://api.github.com/repos/codegangsta/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/codegangsta/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/codegangsta/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/codegangsta/cli/issues/comments/{number}","contents_url":"https://api.github.com/repos/codegangsta/cli/contents/{+path}","compare_url":"https://api.github.com/repos/codegangsta/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codegangsta/cli/merges","archive_url":"https://api.github.com/repos/codegangsta/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codegangsta/cli/downloads","issues_url":"https://api.github.com/repos/codegangsta/cli/issues{/number}","pulls_url":"https://api.github.com/repos/codegangsta/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/codegangsta/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/codegangsta/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codegangsta/cli/labels{/name}","releases_url":"https://api.github.com/repos/codegangsta/cli/releases{/id}","created_at":"2013-07-13T19:32:06Z","updated_at":"2014-01-04T13:39:14Z","pushed_at":"2014-01-02T16:36:08Z","git_url":"git://github.com/codegangsta/cli.git","ssh_url":"git@github.com:codegangsta/cli.git","clone_url":"https://github.com/codegangsta/cli.git","svn_url":"https://github.com/codegangsta/cli","homepage":"","size":449,"stargazers_count":872,"watchers_count":872,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":49,"mirror_url":null,"open_issues_count":6,"forks":49,"open_issues":6,"watchers":872,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codegangsta/cli/pulls/59"},"html":{"href":"https://github.com/codegangsta/cli/pull/59"},"issue":{"href":"https://api.github.com/repos/codegangsta/cli/issues/59"},"comments":{"href":"https://api.github.com/repos/codegangsta/cli/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/codegangsta/cli/pulls/59/comments"},"statuses":{"href":"https://api.github.com/repos/codegangsta/cli/statuses/330653fd7897abac8e9c450a8c2b84ec94f27927"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":76,"deletions":0,"changed_files":2}}