{"action":"opened","number":165,"pull_request":{"url":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/165","id":76516332,"html_url":"https://github.com/libstorage/libstoragemgmt/pull/165","diff_url":"https://github.com/libstorage/libstoragemgmt/pull/165.diff","patch_url":"https://github.com/libstorage/libstoragemgmt/pull/165.patch","issue_url":"https://api.github.com/repos/libstorage/libstoragemgmt/issues/165","number":165,"state":"open","locked":false,"title":"cmdline.py: Alternative way to handle aliases","user":{"login":"tasleson","id":2520480,"avatar_url":"https://avatars.githubusercontent.com/u/2520480?v=3","gravatar_id":"","url":"https://api.github.com/users/tasleson","html_url":"https://github.com/tasleson","followers_url":"https://api.github.com/users/tasleson/followers","following_url":"https://api.github.com/users/tasleson/following{/other_user}","gists_url":"https://api.github.com/users/tasleson/gists{/gist_id}","starred_url":"https://api.github.com/users/tasleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasleson/subscriptions","organizations_url":"https://api.github.com/users/tasleson/orgs","repos_url":"https://api.github.com/users/tasleson/repos","events_url":"https://api.github.com/users/tasleson/events{/privacy}","received_events_url":"https://api.github.com/users/tasleson/received_events","type":"User","site_admin":false},"body":"@cathay4t Please take a look at this to see what you think.  I wasn't able to twiddle the argparse library to get things to work correctly, but maybe you will have better luck.  Maybe I'm missing something obvious, but this change is very straight forward and appears to restore things to a working state.\r\n\r\nI fear we have out grown argparse with some of the things we are trying to do.  I know the py3 conversion has some ugly behavior with our use and abuse of argparse.","created_at":"2016-07-06T23:04:11Z","updated_at":"2016-07-06T23:04:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/165/commits","review_comments_url":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/165/comments","review_comment_url":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libstorage/libstoragemgmt/issues/165/comments","statuses_url":"https://api.github.com/repos/libstorage/libstoragemgmt/statuses/0fab3a88f5751dac154f6b1a7d6caa611db2a9bc","head":{"label":"tasleson:master","ref":"master","sha":"0fab3a88f5751dac154f6b1a7d6caa611db2a9bc","user":{"login":"tasleson","id":2520480,"avatar_url":"https://avatars.githubusercontent.com/u/2520480?v=3","gravatar_id":"","url":"https://api.github.com/users/tasleson","html_url":"https://github.com/tasleson","followers_url":"https://api.github.com/users/tasleson/followers","following_url":"https://api.github.com/users/tasleson/following{/other_user}","gists_url":"https://api.github.com/users/tasleson/gists{/gist_id}","starred_url":"https://api.github.com/users/tasleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasleson/subscriptions","organizations_url":"https://api.github.com/users/tasleson/orgs","repos_url":"https://api.github.com/users/tasleson/repos","events_url":"https://api.github.com/users/tasleson/events{/privacy}","received_events_url":"https://api.github.com/users/tasleson/received_events","type":"User","site_admin":false},"repo":{"id":32825251,"name":"libstoragemgmt","full_name":"tasleson/libstoragemgmt","owner":{"login":"tasleson","id":2520480,"avatar_url":"https://avatars.githubusercontent.com/u/2520480?v=3","gravatar_id":"","url":"https://api.github.com/users/tasleson","html_url":"https://github.com/tasleson","followers_url":"https://api.github.com/users/tasleson/followers","following_url":"https://api.github.com/users/tasleson/following{/other_user}","gists_url":"https://api.github.com/users/tasleson/gists{/gist_id}","starred_url":"https://api.github.com/users/tasleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tasleson/subscriptions","organizations_url":"https://api.github.com/users/tasleson/orgs","repos_url":"https://api.github.com/users/tasleson/repos","events_url":"https://api.github.com/users/tasleson/events{/privacy}","received_events_url":"https://api.github.com/users/tasleson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tasleson/libstoragemgmt","description":"A library for storage management","fork":true,"url":"https://api.github.com/repos/tasleson/libstoragemgmt","forks_url":"https://api.github.com/repos/tasleson/libstoragemgmt/forks","keys_url":"https://api.github.com/repos/tasleson/libstoragemgmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tasleson/libstoragemgmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tasleson/libstoragemgmt/teams","hooks_url":"https://api.github.com/repos/tasleson/libstoragemgmt/hooks","issue_events_url":"https://api.github.com/repos/tasleson/libstoragemgmt/issues/events{/number}","events_url":"https://api.github.com/repos/tasleson/libstoragemgmt/events","assignees_url":"https://api.github.com/repos/tasleson/libstoragemgmt/assignees{/user}","branches_url":"https://api.github.com/repos/tasleson/libstoragemgmt/branches{/branch}","tags_url":"https://api.github.com/repos/tasleson/libstoragemgmt/tags","blobs_url":"https://api.github.com/repos/tasleson/libstoragemgmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tasleson/libstoragemgmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tasleson/libstoragemgmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/tasleson/libstoragemgmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tasleson/libstoragemgmt/statuses/{sha}","languages_url":"https://api.github.com/repos/tasleson/libstoragemgmt/languages","stargazers_url":"https://api.github.com/repos/tasleson/libstoragemgmt/stargazers","contributors_url":"https://api.github.com/repos/tasleson/libstoragemgmt/contributors","subscribers_url":"https://api.github.com/repos/tasleson/libstoragemgmt/subscribers","subscription_url":"https://api.github.com/repos/tasleson/libstoragemgmt/subscription","commits_url":"https://api.github.com/repos/tasleson/libstoragemgmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/tasleson/libstoragemgmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/tasleson/libstoragemgmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/tasleson/libstoragemgmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/tasleson/libstoragemgmt/contents/{+path}","compare_url":"https://api.github.com/repos/tasleson/libstoragemgmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tasleson/libstoragemgmt/merges","archive_url":"https://api.github.com/repos/tasleson/libstoragemgmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tasleson/libstoragemgmt/downloads","issues_url":"https://api.github.com/repos/tasleson/libstoragemgmt/issues{/number}","pulls_url":"https://api.github.com/repos/tasleson/libstoragemgmt/pulls{/number}","milestones_url":"https://api.github.com/repos/tasleson/libstoragemgmt/milestones{/number}","notifications_url":"https://api.github.com/repos/tasleson/libstoragemgmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tasleson/libstoragemgmt/labels{/name}","releases_url":"https://api.github.com/repos/tasleson/libstoragemgmt/releases{/id}","deployments_url":"https://api.github.com/repos/tasleson/libstoragemgmt/deployments","created_at":"2015-03-24T21:08:26Z","updated_at":"2016-02-18T18:22:30Z","pushed_at":"2016-07-06T22:59:40Z","git_url":"git://github.com/tasleson/libstoragemgmt.git","ssh_url":"git@github.com:tasleson/libstoragemgmt.git","clone_url":"https://github.com/tasleson/libstoragemgmt.git","svn_url":"https://github.com/tasleson/libstoragemgmt","homepage":"","size":3822,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"libstorage:master","ref":"master","sha":"416b0c85818d5f0483db2c5d72280e572b37883c","user":{"login":"libstorage","id":11510731,"avatar_url":"https://avatars.githubusercontent.com/u/11510731?v=3","gravatar_id":"","url":"https://api.github.com/users/libstorage","html_url":"https://github.com/libstorage","followers_url":"https://api.github.com/users/libstorage/followers","following_url":"https://api.github.com/users/libstorage/following{/other_user}","gists_url":"https://api.github.com/users/libstorage/gists{/gist_id}","starred_url":"https://api.github.com/users/libstorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libstorage/subscriptions","organizations_url":"https://api.github.com/users/libstorage/orgs","repos_url":"https://api.github.com/users/libstorage/repos","events_url":"https://api.github.com/users/libstorage/events{/privacy}","received_events_url":"https://api.github.com/users/libstorage/received_events","type":"Organization","site_admin":false},"repo":{"id":32356658,"name":"libstoragemgmt","full_name":"libstorage/libstoragemgmt","owner":{"login":"libstorage","id":11510731,"avatar_url":"https://avatars.githubusercontent.com/u/11510731?v=3","gravatar_id":"","url":"https://api.github.com/users/libstorage","html_url":"https://github.com/libstorage","followers_url":"https://api.github.com/users/libstorage/followers","following_url":"https://api.github.com/users/libstorage/following{/other_user}","gists_url":"https://api.github.com/users/libstorage/gists{/gist_id}","starred_url":"https://api.github.com/users/libstorage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libstorage/subscriptions","organizations_url":"https://api.github.com/users/libstorage/orgs","repos_url":"https://api.github.com/users/libstorage/repos","events_url":"https://api.github.com/users/libstorage/events{/privacy}","received_events_url":"https://api.github.com/users/libstorage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libstorage/libstoragemgmt","description":"A library for storage management","fork":false,"url":"https://api.github.com/repos/libstorage/libstoragemgmt","forks_url":"https://api.github.com/repos/libstorage/libstoragemgmt/forks","keys_url":"https://api.github.com/repos/libstorage/libstoragemgmt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libstorage/libstoragemgmt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libstorage/libstoragemgmt/teams","hooks_url":"https://api.github.com/repos/libstorage/libstoragemgmt/hooks","issue_events_url":"https://api.github.com/repos/libstorage/libstoragemgmt/issues/events{/number}","events_url":"https://api.github.com/repos/libstorage/libstoragemgmt/events","assignees_url":"https://api.github.com/repos/libstorage/libstoragemgmt/assignees{/user}","branches_url":"https://api.github.com/repos/libstorage/libstoragemgmt/branches{/branch}","tags_url":"https://api.github.com/repos/libstorage/libstoragemgmt/tags","blobs_url":"https://api.github.com/repos/libstorage/libstoragemgmt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libstorage/libstoragemgmt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libstorage/libstoragemgmt/git/refs{/sha}","trees_url":"https://api.github.com/repos/libstorage/libstoragemgmt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libstorage/libstoragemgmt/statuses/{sha}","languages_url":"https://api.github.com/repos/libstorage/libstoragemgmt/languages","stargazers_url":"https://api.github.com/repos/libstorage/libstoragemgmt/stargazers","contributors_url":"https://api.github.com/repos/libstorage/libstoragemgmt/contributors","subscribers_url":"https://api.github.com/repos/libstorage/libstoragemgmt/subscribers","subscription_url":"https://api.github.com/repos/libstorage/libstoragemgmt/subscription","commits_url":"https://api.github.com/repos/libstorage/libstoragemgmt/commits{/sha}","git_commits_url":"https://api.github.com/repos/libstorage/libstoragemgmt/git/commits{/sha}","comments_url":"https://api.github.com/repos/libstorage/libstoragemgmt/comments{/number}","issue_comment_url":"https://api.github.com/repos/libstorage/libstoragemgmt/issues/comments{/number}","contents_url":"https://api.github.com/repos/libstorage/libstoragemgmt/contents/{+path}","compare_url":"https://api.github.com/repos/libstorage/libstoragemgmt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libstorage/libstoragemgmt/merges","archive_url":"https://api.github.com/repos/libstorage/libstoragemgmt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libstorage/libstoragemgmt/downloads","issues_url":"https://api.github.com/repos/libstorage/libstoragemgmt/issues{/number}","pulls_url":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls{/number}","milestones_url":"https://api.github.com/repos/libstorage/libstoragemgmt/milestones{/number}","notifications_url":"https://api.github.com/repos/libstorage/libstoragemgmt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libstorage/libstoragemgmt/labels{/name}","releases_url":"https://api.github.com/repos/libstorage/libstoragemgmt/releases{/id}","deployments_url":"https://api.github.com/repos/libstorage/libstoragemgmt/deployments","created_at":"2015-03-16T22:25:25Z","updated_at":"2016-07-02T03:48:05Z","pushed_at":"2016-06-29T15:59:05Z","git_url":"git://github.com/libstorage/libstoragemgmt.git","ssh_url":"git@github.com:libstorage/libstoragemgmt.git","clone_url":"https://github.com/libstorage/libstoragemgmt.git","svn_url":"https://github.com/libstorage/libstoragemgmt","homepage":"","size":4041,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":14,"forks":12,"open_issues":14,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/165"},"html":{"href":"https://github.com/libstorage/libstoragemgmt/pull/165"},"issue":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/issues/165"},"comments":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/libstorage/libstoragemgmt/statuses/0fab3a88f5751dac154f6b1a7d6caa611db2a9bc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":66,"deletions":53,"changed_files":1}}
{"actor":{"display_login":"tasleson"}}