{"action":"closed","number":112,"pull_request":{"url":"https://api.github.com/repos/globus/globus-cli/pulls/112","id":91090773,"html_url":"https://github.com/globus/globus-cli/pull/112","diff_url":"https://github.com/globus/globus-cli/pull/112.diff","patch_url":"https://github.com/globus/globus-cli/pull/112.patch","issue_url":"https://api.github.com/repos/globus/globus-cli/issues/112","number":112,"state":"closed","locked":false,"title":"Add whoami command to show logged-in user","user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"body":"* Adds a `globus whoami` command to show the currently logged-in user (i.e., the identity-context for the CLI's current set of tokens)\r\n\r\nExamples:\r\n```\r\n(venv) jasons-mbp:globus-cli jtw$ globus whoami\r\nNo login information available. Please try logging in again.\r\n```\r\n\r\n```\r\n(venv) jasons-mbp:globus-cli jtw$ globus whoami\r\nLogged in as: jaswilli@globusid.org\r\n```\r\n\r\n```\r\n(venv) jasons-mbp:globus-cli jtw$ globus whoami --verbose\r\nLogged in as: jaswilli@globusid.org\r\nName: Jason Williams\r\nId: a492bd6e-d274-11e5-994a-0f250392c65f\r\nEmail: jaswilli@uchicago.edu\r\n```\r\n\r\nCloses #44","created_at":"2016-10-26T21:20:06Z","updated_at":"2016-10-27T14:41:30Z","closed_at":"2016-10-27T14:41:30Z","merged_at":"2016-10-27T14:41:29Z","merge_commit_sha":"f86a276759e7dffd1351036f18236aa9602221f6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/globus/globus-cli/pulls/112/commits","review_comments_url":"https://api.github.com/repos/globus/globus-cli/pulls/112/comments","review_comment_url":"https://api.github.com/repos/globus/globus-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/globus/globus-cli/issues/112/comments","statuses_url":"https://api.github.com/repos/globus/globus-cli/statuses/4022dfbe62fcfcec6956b6976264eefe7a6c5adf","head":{"label":"jaswilli:issue-44-whoami","ref":"issue-44-whoami","sha":"4022dfbe62fcfcec6956b6976264eefe7a6c5adf","user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"repo":{"id":70502877,"name":"globus-cli","full_name":"jaswilli/globus-cli","owner":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaswilli/globus-cli","description":"A Command Line Wrapper over the Globus SDK for Python","fork":true,"url":"https://api.github.com/repos/jaswilli/globus-cli","forks_url":"https://api.github.com/repos/jaswilli/globus-cli/forks","keys_url":"https://api.github.com/repos/jaswilli/globus-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaswilli/globus-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaswilli/globus-cli/teams","hooks_url":"https://api.github.com/repos/jaswilli/globus-cli/hooks","issue_events_url":"https://api.github.com/repos/jaswilli/globus-cli/issues/events{/number}","events_url":"https://api.github.com/repos/jaswilli/globus-cli/events","assignees_url":"https://api.github.com/repos/jaswilli/globus-cli/assignees{/user}","branches_url":"https://api.github.com/repos/jaswilli/globus-cli/branches{/branch}","tags_url":"https://api.github.com/repos/jaswilli/globus-cli/tags","blobs_url":"https://api.github.com/repos/jaswilli/globus-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaswilli/globus-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaswilli/globus-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaswilli/globus-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaswilli/globus-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/jaswilli/globus-cli/languages","stargazers_url":"https://api.github.com/repos/jaswilli/globus-cli/stargazers","contributors_url":"https://api.github.com/repos/jaswilli/globus-cli/contributors","subscribers_url":"https://api.github.com/repos/jaswilli/globus-cli/subscribers","subscription_url":"https://api.github.com/repos/jaswilli/globus-cli/subscription","commits_url":"https://api.github.com/repos/jaswilli/globus-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaswilli/globus-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaswilli/globus-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaswilli/globus-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaswilli/globus-cli/contents/{+path}","compare_url":"https://api.github.com/repos/jaswilli/globus-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaswilli/globus-cli/merges","archive_url":"https://api.github.com/repos/jaswilli/globus-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaswilli/globus-cli/downloads","issues_url":"https://api.github.com/repos/jaswilli/globus-cli/issues{/number}","pulls_url":"https://api.github.com/repos/jaswilli/globus-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/jaswilli/globus-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/jaswilli/globus-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaswilli/globus-cli/labels{/name}","releases_url":"https://api.github.com/repos/jaswilli/globus-cli/releases{/id}","deployments_url":"https://api.github.com/repos/jaswilli/globus-cli/deployments","created_at":"2016-10-10T15:42:38Z","updated_at":"2016-10-10T15:42:39Z","pushed_at":"2016-10-26T21:37:59Z","git_url":"git://github.com/jaswilli/globus-cli.git","ssh_url":"git@github.com:jaswilli/globus-cli.git","clone_url":"https://github.com/jaswilli/globus-cli.git","svn_url":"https://github.com/jaswilli/globus-cli","homepage":null,"size":476,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"globus:master","ref":"master","sha":"cb60b6b505f68e560f2aeb057b6fa56edc2de570","user":{"login":"globus","id":6120321,"avatar_url":"https://avatars.githubusercontent.com/u/6120321?v=3","gravatar_id":"","url":"https://api.github.com/users/globus","html_url":"https://github.com/globus","followers_url":"https://api.github.com/users/globus/followers","following_url":"https://api.github.com/users/globus/following{/other_user}","gists_url":"https://api.github.com/users/globus/gists{/gist_id}","starred_url":"https://api.github.com/users/globus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globus/subscriptions","organizations_url":"https://api.github.com/users/globus/orgs","repos_url":"https://api.github.com/users/globus/repos","events_url":"https://api.github.com/users/globus/events{/privacy}","received_events_url":"https://api.github.com/users/globus/received_events","type":"Organization","site_admin":false},"repo":{"id":53438969,"name":"globus-cli","full_name":"globus/globus-cli","owner":{"login":"globus","id":6120321,"avatar_url":"https://avatars.githubusercontent.com/u/6120321?v=3","gravatar_id":"","url":"https://api.github.com/users/globus","html_url":"https://github.com/globus","followers_url":"https://api.github.com/users/globus/followers","following_url":"https://api.github.com/users/globus/following{/other_user}","gists_url":"https://api.github.com/users/globus/gists{/gist_id}","starred_url":"https://api.github.com/users/globus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globus/subscriptions","organizations_url":"https://api.github.com/users/globus/orgs","repos_url":"https://api.github.com/users/globus/repos","events_url":"https://api.github.com/users/globus/events{/privacy}","received_events_url":"https://api.github.com/users/globus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/globus/globus-cli","description":"A Command Line Wrapper over the Globus SDK for Python","fork":false,"url":"https://api.github.com/repos/globus/globus-cli","forks_url":"https://api.github.com/repos/globus/globus-cli/forks","keys_url":"https://api.github.com/repos/globus/globus-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/globus/globus-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/globus/globus-cli/teams","hooks_url":"https://api.github.com/repos/globus/globus-cli/hooks","issue_events_url":"https://api.github.com/repos/globus/globus-cli/issues/events{/number}","events_url":"https://api.github.com/repos/globus/globus-cli/events","assignees_url":"https://api.github.com/repos/globus/globus-cli/assignees{/user}","branches_url":"https://api.github.com/repos/globus/globus-cli/branches{/branch}","tags_url":"https://api.github.com/repos/globus/globus-cli/tags","blobs_url":"https://api.github.com/repos/globus/globus-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/globus/globus-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/globus/globus-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/globus/globus-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/globus/globus-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/globus/globus-cli/languages","stargazers_url":"https://api.github.com/repos/globus/globus-cli/stargazers","contributors_url":"https://api.github.com/repos/globus/globus-cli/contributors","subscribers_url":"https://api.github.com/repos/globus/globus-cli/subscribers","subscription_url":"https://api.github.com/repos/globus/globus-cli/subscription","commits_url":"https://api.github.com/repos/globus/globus-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/globus/globus-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/globus/globus-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/globus/globus-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/globus/globus-cli/contents/{+path}","compare_url":"https://api.github.com/repos/globus/globus-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/globus/globus-cli/merges","archive_url":"https://api.github.com/repos/globus/globus-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/globus/globus-cli/downloads","issues_url":"https://api.github.com/repos/globus/globus-cli/issues{/number}","pulls_url":"https://api.github.com/repos/globus/globus-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/globus/globus-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/globus/globus-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/globus/globus-cli/labels{/name}","releases_url":"https://api.github.com/repos/globus/globus-cli/releases{/id}","deployments_url":"https://api.github.com/repos/globus/globus-cli/deployments","created_at":"2016-03-08T19:25:41Z","updated_at":"2016-10-24T14:50:48Z","pushed_at":"2016-10-27T14:41:30Z","git_url":"git://github.com/globus/globus-cli.git","ssh_url":"git@github.com:globus/globus-cli.git","clone_url":"https://github.com/globus/globus-cli.git","svn_url":"https://github.com/globus/globus-cli","homepage":null,"size":497,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":39,"forks":4,"open_issues":39,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/globus/globus-cli/pulls/112"},"html":{"href":"https://github.com/globus/globus-cli/pull/112"},"issue":{"href":"https://api.github.com/repos/globus/globus-cli/issues/112"},"comments":{"href":"https://api.github.com/repos/globus/globus-cli/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/globus/globus-cli/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/globus/globus-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/globus/globus-cli/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/globus/globus-cli/statuses/4022dfbe62fcfcec6956b6976264eefe7a6c5adf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sirosen","id":1300022,"avatar_url":"https://avatars.githubusercontent.com/u/1300022?v=3","gravatar_id":"","url":"https://api.github.com/users/sirosen","html_url":"https://github.com/sirosen","followers_url":"https://api.github.com/users/sirosen/followers","following_url":"https://api.github.com/users/sirosen/following{/other_user}","gists_url":"https://api.github.com/users/sirosen/gists{/gist_id}","starred_url":"https://api.github.com/users/sirosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirosen/subscriptions","organizations_url":"https://api.github.com/users/sirosen/orgs","repos_url":"https://api.github.com/users/sirosen/repos","events_url":"https://api.github.com/users/sirosen/events{/privacy}","received_events_url":"https://api.github.com/users/sirosen/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":75,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"sirosen"}}