{"action":"created","issue":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/674","repository_url":"https://api.github.com/repos/kbknapp/clap-rs","labels_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/674/comments","events_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/674/events","html_url":"https://github.com/kbknapp/clap-rs/pull/674","id":180411742,"number":674,"title":"feat(arg_aliases): Ability to alias arguments","user":{"login":"afiune","id":5712253,"avatar_url":"https://avatars.githubusercontent.com/u/5712253?v=3","gravatar_id":"","url":"https://api.github.com/users/afiune","html_url":"https://github.com/afiune","followers_url":"https://api.github.com/users/afiune/followers","following_url":"https://api.github.com/users/afiune/following{/other_user}","gists_url":"https://api.github.com/users/afiune/gists{/gist_id}","starred_url":"https://api.github.com/users/afiune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afiune/subscriptions","organizations_url":"https://api.github.com/users/afiune/orgs","repos_url":"https://api.github.com/users/afiune/repos","events_url":"https://api.github.com/users/afiune/events{/privacy}","received_events_url":"https://api.github.com/users/afiune/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Vinatorul","id":6770624,"avatar_url":"https://avatars.githubusercontent.com/u/6770624?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinatorul","html_url":"https://github.com/Vinatorul","followers_url":"https://api.github.com/users/Vinatorul/followers","following_url":"https://api.github.com/users/Vinatorul/following{/other_user}","gists_url":"https://api.github.com/users/Vinatorul/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinatorul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinatorul/subscriptions","organizations_url":"https://api.github.com/users/Vinatorul/orgs","repos_url":"https://api.github.com/users/Vinatorul/repos","events_url":"https://api.github.com/users/Vinatorul/events{/privacy}","received_events_url":"https://api.github.com/users/Vinatorul/received_events","type":"User","site_admin":false},"assignees":[{"login":"Vinatorul","id":6770624,"avatar_url":"https://avatars.githubusercontent.com/u/6770624?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinatorul","html_url":"https://github.com/Vinatorul","followers_url":"https://api.github.com/users/Vinatorul/followers","following_url":"https://api.github.com/users/Vinatorul/following{/other_user}","gists_url":"https://api.github.com/users/Vinatorul/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinatorul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinatorul/subscriptions","organizations_url":"https://api.github.com/users/Vinatorul/orgs","repos_url":"https://api.github.com/users/Vinatorul/repos","events_url":"https://api.github.com/users/Vinatorul/events{/privacy}","received_events_url":"https://api.github.com/users/Vinatorul/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-09-30T22:03:44Z","updated_at":"2016-10-04T16:51:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kbknapp/clap-rs/pulls/674","html_url":"https://github.com/kbknapp/clap-rs/pull/674","diff_url":"https://github.com/kbknapp/clap-rs/pull/674.diff","patch_url":"https://github.com/kbknapp/clap-rs/pull/674.patch"},"body":"There are some cases where you need to have an argument to have an\r\nalias, an example could be when you deprecate one option in favor of\r\nanother one.\r\n\r\nNow you are going to be able to alias arguments as follows:\r\n```rust\r\nArg::with_name(\"opt\")\r\n    .long(\"opt\")\r\n    .short(\"o\")\r\n    .takes_value(true)\r\n    .alias(\"invisible\")\r\n    .visible_alias(\"visible\")\r\n```\r\n\r\nCloses #669 \r\n\r\nAlso you can alias flags as follow:\r\n```rust\r\nArg::with_name(\"flg\")\r\n    .long(\"flag\")\r\n    .short(\"f\")\r\n    .alias(\"not_visible_flag\")\r\n    .visible_alias(\"awesome_v_flag\")\r\n```"},"comment":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/comments/251445676","html_url":"https://github.com/kbknapp/clap-rs/pull/674#issuecomment-251445676","issue_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/674","id":251445676,"user":{"login":"homu","id":10212162,"avatar_url":"https://avatars.githubusercontent.com/u/10212162?v=3","gravatar_id":"","url":"https://api.github.com/users/homu","html_url":"https://github.com/homu","followers_url":"https://api.github.com/users/homu/followers","following_url":"https://api.github.com/users/homu/following{/other_user}","gists_url":"https://api.github.com/users/homu/gists{/gist_id}","starred_url":"https://api.github.com/users/homu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homu/subscriptions","organizations_url":"https://api.github.com/users/homu/orgs","repos_url":"https://api.github.com/users/homu/repos","events_url":"https://api.github.com/users/homu/events{/privacy}","received_events_url":"https://api.github.com/users/homu/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T16:51:13Z","updated_at":"2016-10-04T16:51:13Z","body":":hourglass: Testing commit 905d3b9 with merge 4e7466c..."}}
{"actor":{"display_login":"homu"}}