{"action":"created","comment":{"url":"https://api.github.com/repos/cloudControl/cctrl/pulls/comments/24508790","id":24508790,"diff_hunk":"@@ -72,6 +72,30 @@ def parse_cmdline(user):\n         help=\"the password\")\n     create_subparser.set_defaults(func=user.create)\n \n+    setup_subparser = subparsers.add_parser('setup', help=\"setup user\")\n+    setup_subparser.add_argument(\n+        \"--email\",\n+        nargs='?',","path":"cctrl/user_commands.py","position":7,"original_position":7,"commit_id":"0fdf1bce568f35c60a4e252c48c93e626582c036","original_commit_id":"cabbd1d5dc6612fc9085b59d2c8e4a92ceb41cbb","user":{"login":"sfriesel","id":462730,"avatar_url":"https://avatars.githubusercontent.com/u/462730?v=3","gravatar_id":"","url":"https://api.github.com/users/sfriesel","html_url":"https://github.com/sfriesel","followers_url":"https://api.github.com/users/sfriesel/followers","following_url":"https://api.github.com/users/sfriesel/following{/other_user}","gists_url":"https://api.github.com/users/sfriesel/gists{/gist_id}","starred_url":"https://api.github.com/users/sfriesel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfriesel/subscriptions","organizations_url":"https://api.github.com/users/sfriesel/orgs","repos_url":"https://api.github.com/users/sfriesel/repos","events_url":"https://api.github.com/users/sfriesel/events{/privacy}","received_events_url":"https://api.github.com/users/sfriesel/received_events","type":"User","site_admin":false},"body":"the flag itself is optional; but if given the value should not be optional (https://docs.python.org/3/library/argparse.html#nargs)","created_at":"2015-02-11T16:30:08Z","updated_at":"2015-02-11T16:30:08Z","html_url":"https://github.com/cloudControl/cctrl/pull/55#discussion_r24508790","pull_request_url":"https://api.github.com/repos/cloudControl/cctrl/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/cloudControl/cctrl/pulls/comments/24508790"},"html":{"href":"https://github.com/cloudControl/cctrl/pull/55#discussion_r24508790"},"pull_request":{"href":"https://api.github.com/repos/cloudControl/cctrl/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/cloudControl/cctrl/pulls/55","id":27847856,"html_url":"https://github.com/cloudControl/cctrl/pull/55","diff_url":"https://github.com/cloudControl/cctrl/pull/55.diff","patch_url":"https://github.com/cloudControl/cctrl/pull/55.patch","issue_url":"https://api.github.com/repos/cloudControl/cctrl/issues/55","number":55,"state":"open","locked":false,"title":"[WIP] Authssh","user":{"login":"fern4lvarez","id":1381925,"avatar_url":"https://avatars.githubusercontent.com/u/1381925?v=3","gravatar_id":"","url":"https://api.github.com/users/fern4lvarez","html_url":"https://github.com/fern4lvarez","followers_url":"https://api.github.com/users/fern4lvarez/followers","following_url":"https://api.github.com/users/fern4lvarez/following{/other_user}","gists_url":"https://api.github.com/users/fern4lvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/fern4lvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fern4lvarez/subscriptions","organizations_url":"https://api.github.com/users/fern4lvarez/orgs","repos_url":"https://api.github.com/users/fern4lvarez/repos","events_url":"https://api.github.com/users/fern4lvarez/events{/privacy}","received_events_url":"https://api.github.com/users/fern4lvarez/received_events","type":"User","site_admin":false},"body":"Do not merge yet.\r\n\r\n- [x] Depends on https://github.com/cloudControl/cctrl/pull/54\r\n- [ ] Depends on changes on `pycclib`: https://github.com/cloudControl/pycclib/pull/7\r\n- [ ] Depends on changes on the server side","created_at":"2015-01-22T14:54:05Z","updated_at":"2015-02-11T16:30:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7a2e0a29453b5dd537635decb70ef86fa55d869","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudControl/cctrl/pulls/55/commits","review_comments_url":"https://api.github.com/repos/cloudControl/cctrl/pulls/55/comments","review_comment_url":"https://api.github.com/repos/cloudControl/cctrl/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cloudControl/cctrl/issues/55/comments","statuses_url":"https://api.github.com/repos/cloudControl/cctrl/statuses/0fdf1bce568f35c60a4e252c48c93e626582c036","head":{"label":"cloudControl:authssh","ref":"authssh","sha":"0fdf1bce568f35c60a4e252c48c93e626582c036","user":{"login":"cloudControl","id":1272505,"avatar_url":"https://avatars.githubusercontent.com/u/1272505?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudControl","html_url":"https://github.com/cloudControl","followers_url":"https://api.github.com/users/cloudControl/followers","following_url":"https://api.github.com/users/cloudControl/following{/other_user}","gists_url":"https://api.github.com/users/cloudControl/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudControl/subscriptions","organizations_url":"https://api.github.com/users/cloudControl/orgs","repos_url":"https://api.github.com/users/cloudControl/repos","events_url":"https://api.github.com/users/cloudControl/events{/privacy}","received_events_url":"https://api.github.com/users/cloudControl/received_events","type":"Organization","site_admin":false},"repo":{"id":3225532,"name":"cctrl","full_name":"cloudControl/cctrl","owner":{"login":"cloudControl","id":1272505,"avatar_url":"https://avatars.githubusercontent.com/u/1272505?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudControl","html_url":"https://github.com/cloudControl","followers_url":"https://api.github.com/users/cloudControl/followers","following_url":"https://api.github.com/users/cloudControl/following{/other_user}","gists_url":"https://api.github.com/users/cloudControl/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudControl/subscriptions","organizations_url":"https://api.github.com/users/cloudControl/orgs","repos_url":"https://api.github.com/users/cloudControl/repos","events_url":"https://api.github.com/users/cloudControl/events{/privacy}","received_events_url":"https://api.github.com/users/cloudControl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudControl/cctrl","description":"cloudControl command line utilities","fork":false,"url":"https://api.github.com/repos/cloudControl/cctrl","forks_url":"https://api.github.com/repos/cloudControl/cctrl/forks","keys_url":"https://api.github.com/repos/cloudControl/cctrl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudControl/cctrl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudControl/cctrl/teams","hooks_url":"https://api.github.com/repos/cloudControl/cctrl/hooks","issue_events_url":"https://api.github.com/repos/cloudControl/cctrl/issues/events{/number}","events_url":"https://api.github.com/repos/cloudControl/cctrl/events","assignees_url":"https://api.github.com/repos/cloudControl/cctrl/assignees{/user}","branches_url":"https://api.github.com/repos/cloudControl/cctrl/branches{/branch}","tags_url":"https://api.github.com/repos/cloudControl/cctrl/tags","blobs_url":"https://api.github.com/repos/cloudControl/cctrl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudControl/cctrl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudControl/cctrl/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudControl/cctrl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudControl/cctrl/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudControl/cctrl/languages","stargazers_url":"https://api.github.com/repos/cloudControl/cctrl/stargazers","contributors_url":"https://api.github.com/repos/cloudControl/cctrl/contributors","subscribers_url":"https://api.github.com/repos/cloudControl/cctrl/subscribers","subscription_url":"https://api.github.com/repos/cloudControl/cctrl/subscription","commits_url":"https://api.github.com/repos/cloudControl/cctrl/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudControl/cctrl/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudControl/cctrl/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudControl/cctrl/issues/comments/{number}","contents_url":"https://api.github.com/repos/cloudControl/cctrl/contents/{+path}","compare_url":"https://api.github.com/repos/cloudControl/cctrl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudControl/cctrl/merges","archive_url":"https://api.github.com/repos/cloudControl/cctrl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudControl/cctrl/downloads","issues_url":"https://api.github.com/repos/cloudControl/cctrl/issues{/number}","pulls_url":"https://api.github.com/repos/cloudControl/cctrl/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudControl/cctrl/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudControl/cctrl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudControl/cctrl/labels{/name}","releases_url":"https://api.github.com/repos/cloudControl/cctrl/releases{/id}","created_at":"2012-01-20T10:31:11Z","updated_at":"2015-02-10T17:32:20Z","pushed_at":"2015-02-11T15:53:24Z","git_url":"git://github.com/cloudControl/cctrl.git","ssh_url":"git@github.com:cloudControl/cctrl.git","clone_url":"https://github.com/cloudControl/cctrl.git","svn_url":"https://github.com/cloudControl/cctrl","homepage":"","size":2157,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":9,"forks":15,"open_issues":9,"watchers":17,"default_branch":"master"}},"base":{"label":"cloudControl:master","ref":"master","sha":"c6fadcad04e0c34acef9598156e03b2fe7759132","user":{"login":"cloudControl","id":1272505,"avatar_url":"https://avatars.githubusercontent.com/u/1272505?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudControl","html_url":"https://github.com/cloudControl","followers_url":"https://api.github.com/users/cloudControl/followers","following_url":"https://api.github.com/users/cloudControl/following{/other_user}","gists_url":"https://api.github.com/users/cloudControl/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudControl/subscriptions","organizations_url":"https://api.github.com/users/cloudControl/orgs","repos_url":"https://api.github.com/users/cloudControl/repos","events_url":"https://api.github.com/users/cloudControl/events{/privacy}","received_events_url":"https://api.github.com/users/cloudControl/received_events","type":"Organization","site_admin":false},"repo":{"id":3225532,"name":"cctrl","full_name":"cloudControl/cctrl","owner":{"login":"cloudControl","id":1272505,"avatar_url":"https://avatars.githubusercontent.com/u/1272505?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudControl","html_url":"https://github.com/cloudControl","followers_url":"https://api.github.com/users/cloudControl/followers","following_url":"https://api.github.com/users/cloudControl/following{/other_user}","gists_url":"https://api.github.com/users/cloudControl/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudControl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudControl/subscriptions","organizations_url":"https://api.github.com/users/cloudControl/orgs","repos_url":"https://api.github.com/users/cloudControl/repos","events_url":"https://api.github.com/users/cloudControl/events{/privacy}","received_events_url":"https://api.github.com/users/cloudControl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudControl/cctrl","description":"cloudControl command line utilities","fork":false,"url":"https://api.github.com/repos/cloudControl/cctrl","forks_url":"https://api.github.com/repos/cloudControl/cctrl/forks","keys_url":"https://api.github.com/repos/cloudControl/cctrl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudControl/cctrl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudControl/cctrl/teams","hooks_url":"https://api.github.com/repos/cloudControl/cctrl/hooks","issue_events_url":"https://api.github.com/repos/cloudControl/cctrl/issues/events{/number}","events_url":"https://api.github.com/repos/cloudControl/cctrl/events","assignees_url":"https://api.github.com/repos/cloudControl/cctrl/assignees{/user}","branches_url":"https://api.github.com/repos/cloudControl/cctrl/branches{/branch}","tags_url":"https://api.github.com/repos/cloudControl/cctrl/tags","blobs_url":"https://api.github.com/repos/cloudControl/cctrl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudControl/cctrl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudControl/cctrl/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudControl/cctrl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudControl/cctrl/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudControl/cctrl/languages","stargazers_url":"https://api.github.com/repos/cloudControl/cctrl/stargazers","contributors_url":"https://api.github.com/repos/cloudControl/cctrl/contributors","subscribers_url":"https://api.github.com/repos/cloudControl/cctrl/subscribers","subscription_url":"https://api.github.com/repos/cloudControl/cctrl/subscription","commits_url":"https://api.github.com/repos/cloudControl/cctrl/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudControl/cctrl/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudControl/cctrl/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudControl/cctrl/issues/comments/{number}","contents_url":"https://api.github.com/repos/cloudControl/cctrl/contents/{+path}","compare_url":"https://api.github.com/repos/cloudControl/cctrl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudControl/cctrl/merges","archive_url":"https://api.github.com/repos/cloudControl/cctrl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudControl/cctrl/downloads","issues_url":"https://api.github.com/repos/cloudControl/cctrl/issues{/number}","pulls_url":"https://api.github.com/repos/cloudControl/cctrl/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudControl/cctrl/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudControl/cctrl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudControl/cctrl/labels{/name}","releases_url":"https://api.github.com/repos/cloudControl/cctrl/releases{/id}","created_at":"2012-01-20T10:31:11Z","updated_at":"2015-02-10T17:32:20Z","pushed_at":"2015-02-11T15:53:24Z","git_url":"git://github.com/cloudControl/cctrl.git","ssh_url":"git@github.com:cloudControl/cctrl.git","clone_url":"https://github.com/cloudControl/cctrl.git","svn_url":"https://github.com/cloudControl/cctrl","homepage":"","size":2157,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":9,"forks":15,"open_issues":9,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudControl/cctrl/pulls/55"},"html":{"href":"https://github.com/cloudControl/cctrl/pull/55"},"issue":{"href":"https://api.github.com/repos/cloudControl/cctrl/issues/55"},"comments":{"href":"https://api.github.com/repos/cloudControl/cctrl/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudControl/cctrl/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudControl/cctrl/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cloudControl/cctrl/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/cloudControl/cctrl/statuses/0fdf1bce568f35c60a4e252c48c93e626582c036"}}}}