{"action":"closed","number":319,"pull_request":{"url":"https://api.github.com/repos/ipython/traitlets/pulls/319","id":86241966,"html_url":"https://github.com/ipython/traitlets/pull/319","diff_url":"https://github.com/ipython/traitlets/pull/319.diff","patch_url":"https://github.com/ipython/traitlets/pull/319.patch","issue_url":"https://api.github.com/repos/ipython/traitlets/issues/319","number":319,"state":"closed","locked":false,"title":"app: support flags/aliases given as (--long, -short) tuple","user":{"login":"ankostis","id":501585,"avatar_url":"https://avatars.githubusercontent.com/u/501585?v=3","gravatar_id":"","url":"https://api.github.com/users/ankostis","html_url":"https://github.com/ankostis","followers_url":"https://api.github.com/users/ankostis/followers","following_url":"https://api.github.com/users/ankostis/following{/other_user}","gists_url":"https://api.github.com/users/ankostis/gists{/gist_id}","starred_url":"https://api.github.com/users/ankostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankostis/subscriptions","organizations_url":"https://api.github.com/users/ankostis/orgs","repos_url":"https://api.github.com/users/ankostis/repos","events_url":"https://api.github.com/users/ankostis/events{/privacy}","received_events_url":"https://api.github.com/users/ankostis/received_events","type":"User","site_admin":false},"body":"+ Specify both short/long forms of flags & aliases at once.\r\n+ Explain explicitely equivalence of flags/aliases.\r\n+ Handle and log exceptions while printing flag/alias help-msgs - stacktrace was too convoluted otherwise.\r\n+ FIX #296: print all relevant (sub)classes in help-msg.\r\n\r\nAn example of the new flags/aliases help message:\r\n\r\n```\r\n-f, --force\r\n    Force various sub-commands perform their duties without complaints.\r\n    Equivalent to: [Spec.force=True]\r\n-v, --verbose\r\n    Make various sub-commands increase their verbosity (not to be confused with --debug):\r\n    Equivalent to: [Spec.verbose=True]\r\n-d, --debug\r\n    Log more logging, fail on configuration errors, and print configuration on each cmd startup.\r\n    Equivalent to: [Cmd.raise_config_file_errors=True Cmd.print_config=True Spec.log_level=0 Application.log_level=0]\r\n--log-level=<Enum>\r\n    Default: 30\r\n    Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')\r\n    Set the log level by value or name.\r\n    Equivalent to: [Application.log_level]\r\n```","created_at":"2016-09-21T21:10:00Z","updated_at":"2016-09-26T08:27:35Z","closed_at":"2016-09-26T08:27:35Z","merged_at":"2016-09-26T08:27:34Z","merge_commit_sha":"1d8bb233f313770960704e88a03e9831e4303ab0","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ipython/traitlets/milestones/5","html_url":"https://github.com/ipython/traitlets/milestones/5.0","labels_url":"https://api.github.com/repos/ipython/traitlets/milestones/5/labels","id":1185702,"number":5,"title":"5.0","description":"","creator":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":7,"state":"open","created_at":"2015-06-29T17:18:20Z","updated_at":"2016-09-26T08:27:35Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ipython/traitlets/pulls/319/commits","review_comments_url":"https://api.github.com/repos/ipython/traitlets/pulls/319/comments","review_comment_url":"https://api.github.com/repos/ipython/traitlets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipython/traitlets/issues/319/comments","statuses_url":"https://api.github.com/repos/ipython/traitlets/statuses/6b7031de992c3ccbca162f088af3fba4cdc426fe","head":{"label":"ankostis:short_long_flags","ref":"short_long_flags","sha":"6b7031de992c3ccbca162f088af3fba4cdc426fe","user":{"login":"ankostis","id":501585,"avatar_url":"https://avatars.githubusercontent.com/u/501585?v=3","gravatar_id":"","url":"https://api.github.com/users/ankostis","html_url":"https://github.com/ankostis","followers_url":"https://api.github.com/users/ankostis/followers","following_url":"https://api.github.com/users/ankostis/following{/other_user}","gists_url":"https://api.github.com/users/ankostis/gists{/gist_id}","starred_url":"https://api.github.com/users/ankostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankostis/subscriptions","organizations_url":"https://api.github.com/users/ankostis/orgs","repos_url":"https://api.github.com/users/ankostis/repos","events_url":"https://api.github.com/users/ankostis/events{/privacy}","received_events_url":"https://api.github.com/users/ankostis/received_events","type":"User","site_admin":false},"repo":{"id":66032700,"name":"traitlets","full_name":"ankostis/traitlets","owner":{"login":"ankostis","id":501585,"avatar_url":"https://avatars.githubusercontent.com/u/501585?v=3","gravatar_id":"","url":"https://api.github.com/users/ankostis","html_url":"https://github.com/ankostis","followers_url":"https://api.github.com/users/ankostis/followers","following_url":"https://api.github.com/users/ankostis/following{/other_user}","gists_url":"https://api.github.com/users/ankostis/gists{/gist_id}","starred_url":"https://api.github.com/users/ankostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankostis/subscriptions","organizations_url":"https://api.github.com/users/ankostis/orgs","repos_url":"https://api.github.com/users/ankostis/repos","events_url":"https://api.github.com/users/ankostis/events{/privacy}","received_events_url":"https://api.github.com/users/ankostis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ankostis/traitlets","description":"A lightweight Traits like module","fork":true,"url":"https://api.github.com/repos/ankostis/traitlets","forks_url":"https://api.github.com/repos/ankostis/traitlets/forks","keys_url":"https://api.github.com/repos/ankostis/traitlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankostis/traitlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankostis/traitlets/teams","hooks_url":"https://api.github.com/repos/ankostis/traitlets/hooks","issue_events_url":"https://api.github.com/repos/ankostis/traitlets/issues/events{/number}","events_url":"https://api.github.com/repos/ankostis/traitlets/events","assignees_url":"https://api.github.com/repos/ankostis/traitlets/assignees{/user}","branches_url":"https://api.github.com/repos/ankostis/traitlets/branches{/branch}","tags_url":"https://api.github.com/repos/ankostis/traitlets/tags","blobs_url":"https://api.github.com/repos/ankostis/traitlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankostis/traitlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankostis/traitlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankostis/traitlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankostis/traitlets/statuses/{sha}","languages_url":"https://api.github.com/repos/ankostis/traitlets/languages","stargazers_url":"https://api.github.com/repos/ankostis/traitlets/stargazers","contributors_url":"https://api.github.com/repos/ankostis/traitlets/contributors","subscribers_url":"https://api.github.com/repos/ankostis/traitlets/subscribers","subscription_url":"https://api.github.com/repos/ankostis/traitlets/subscription","commits_url":"https://api.github.com/repos/ankostis/traitlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankostis/traitlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankostis/traitlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankostis/traitlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankostis/traitlets/contents/{+path}","compare_url":"https://api.github.com/repos/ankostis/traitlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankostis/traitlets/merges","archive_url":"https://api.github.com/repos/ankostis/traitlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankostis/traitlets/downloads","issues_url":"https://api.github.com/repos/ankostis/traitlets/issues{/number}","pulls_url":"https://api.github.com/repos/ankostis/traitlets/pulls{/number}","milestones_url":"https://api.github.com/repos/ankostis/traitlets/milestones{/number}","notifications_url":"https://api.github.com/repos/ankostis/traitlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankostis/traitlets/labels{/name}","releases_url":"https://api.github.com/repos/ankostis/traitlets/releases{/id}","deployments_url":"https://api.github.com/repos/ankostis/traitlets/deployments","created_at":"2016-08-18T21:45:32Z","updated_at":"2016-08-18T21:45:33Z","pushed_at":"2016-09-25T23:52:41Z","git_url":"git://github.com/ankostis/traitlets.git","ssh_url":"git@github.com:ankostis/traitlets.git","clone_url":"https://github.com/ankostis/traitlets.git","svn_url":"https://github.com/ankostis/traitlets","homepage":"http://traitlets.readthedocs.org/","size":1183,"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":"ipython:master","ref":"master","sha":"39a0032c264a911e0456cc8472237e920f6ee07f","user":{"login":"ipython","id":230453,"avatar_url":"https://avatars.githubusercontent.com/u/230453?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"repo":{"id":14993021,"name":"traitlets","full_name":"ipython/traitlets","owner":{"login":"ipython","id":230453,"avatar_url":"https://avatars.githubusercontent.com/u/230453?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipython/traitlets","description":"A lightweight Traits like module","fork":false,"url":"https://api.github.com/repos/ipython/traitlets","forks_url":"https://api.github.com/repos/ipython/traitlets/forks","keys_url":"https://api.github.com/repos/ipython/traitlets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipython/traitlets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipython/traitlets/teams","hooks_url":"https://api.github.com/repos/ipython/traitlets/hooks","issue_events_url":"https://api.github.com/repos/ipython/traitlets/issues/events{/number}","events_url":"https://api.github.com/repos/ipython/traitlets/events","assignees_url":"https://api.github.com/repos/ipython/traitlets/assignees{/user}","branches_url":"https://api.github.com/repos/ipython/traitlets/branches{/branch}","tags_url":"https://api.github.com/repos/ipython/traitlets/tags","blobs_url":"https://api.github.com/repos/ipython/traitlets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipython/traitlets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipython/traitlets/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipython/traitlets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipython/traitlets/statuses/{sha}","languages_url":"https://api.github.com/repos/ipython/traitlets/languages","stargazers_url":"https://api.github.com/repos/ipython/traitlets/stargazers","contributors_url":"https://api.github.com/repos/ipython/traitlets/contributors","subscribers_url":"https://api.github.com/repos/ipython/traitlets/subscribers","subscription_url":"https://api.github.com/repos/ipython/traitlets/subscription","commits_url":"https://api.github.com/repos/ipython/traitlets/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipython/traitlets/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipython/traitlets/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipython/traitlets/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipython/traitlets/contents/{+path}","compare_url":"https://api.github.com/repos/ipython/traitlets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipython/traitlets/merges","archive_url":"https://api.github.com/repos/ipython/traitlets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipython/traitlets/downloads","issues_url":"https://api.github.com/repos/ipython/traitlets/issues{/number}","pulls_url":"https://api.github.com/repos/ipython/traitlets/pulls{/number}","milestones_url":"https://api.github.com/repos/ipython/traitlets/milestones{/number}","notifications_url":"https://api.github.com/repos/ipython/traitlets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipython/traitlets/labels{/name}","releases_url":"https://api.github.com/repos/ipython/traitlets/releases{/id}","deployments_url":"https://api.github.com/repos/ipython/traitlets/deployments","created_at":"2013-12-06T20:45:45Z","updated_at":"2016-09-21T20:20:43Z","pushed_at":"2016-09-26T08:27:35Z","git_url":"git://github.com/ipython/traitlets.git","ssh_url":"git@github.com:ipython/traitlets.git","clone_url":"https://github.com/ipython/traitlets.git","svn_url":"https://github.com/ipython/traitlets","homepage":"http://traitlets.readthedocs.org/","size":2318,"stargazers_count":92,"watchers_count":92,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":51,"forks":62,"open_issues":51,"watchers":92,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipython/traitlets/pulls/319"},"html":{"href":"https://github.com/ipython/traitlets/pull/319"},"issue":{"href":"https://api.github.com/repos/ipython/traitlets/issues/319"},"comments":{"href":"https://api.github.com/repos/ipython/traitlets/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/ipython/traitlets/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/ipython/traitlets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipython/traitlets/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/ipython/traitlets/statuses/6b7031de992c3ccbca162f088af3fba4cdc426fe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"comments":4,"review_comments":9,"commits":6,"additions":165,"deletions":65,"changed_files":5}}
{"actor":{"display_login":"minrk"}}