{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/401","repository_url":"https://api.github.com/repos/dotnet/corefxlab","labels_url":"https://api.github.com/repos/dotnet/corefxlab/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefxlab/issues/401/comments","events_url":"https://api.github.com/repos/dotnet/corefxlab/issues/401/events","html_url":"https://github.com/dotnet/corefxlab/issues/401","id":114657628,"number":401,"title":"System.CommandLine doesn't strip outer quotes from argument values","user":{"login":"agocke","id":515774,"avatar_url":"https://avatars.githubusercontent.com/u/515774?v=3","gravatar_id":"","url":"https://api.github.com/users/agocke","html_url":"https://github.com/agocke","followers_url":"https://api.github.com/users/agocke/followers","following_url":"https://api.github.com/users/agocke/following{/other_user}","gists_url":"https://api.github.com/users/agocke/gists{/gist_id}","starred_url":"https://api.github.com/users/agocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agocke/subscriptions","organizations_url":"https://api.github.com/users/agocke/orgs","repos_url":"https://api.github.com/users/agocke/repos","events_url":"https://api.github.com/users/agocke/events{/privacy}","received_events_url":"https://api.github.com/users/agocke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefxlab/labels/Area:System.CommandLine","name":"Area:System.CommandLine","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/corefxlab/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"terrajobst","id":5169960,"avatar_url":"https://avatars.githubusercontent.com/u/5169960?v=3","gravatar_id":"","url":"https://api.github.com/users/terrajobst","html_url":"https://github.com/terrajobst","followers_url":"https://api.github.com/users/terrajobst/followers","following_url":"https://api.github.com/users/terrajobst/following{/other_user}","gists_url":"https://api.github.com/users/terrajobst/gists{/gist_id}","starred_url":"https://api.github.com/users/terrajobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrajobst/subscriptions","organizations_url":"https://api.github.com/users/terrajobst/orgs","repos_url":"https://api.github.com/users/terrajobst/repos","events_url":"https://api.github.com/users/terrajobst/events{/privacy}","received_events_url":"https://api.github.com/users/terrajobst/received_events","type":"User","site_admin":false},"assignees":[{"login":"terrajobst","id":5169960,"avatar_url":"https://avatars.githubusercontent.com/u/5169960?v=3","gravatar_id":"","url":"https://api.github.com/users/terrajobst","html_url":"https://github.com/terrajobst","followers_url":"https://api.github.com/users/terrajobst/followers","following_url":"https://api.github.com/users/terrajobst/following{/other_user}","gists_url":"https://api.github.com/users/terrajobst/gists{/gist_id}","starred_url":"https://api.github.com/users/terrajobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrajobst/subscriptions","organizations_url":"https://api.github.com/users/terrajobst/orgs","repos_url":"https://api.github.com/users/terrajobst/repos","events_url":"https://api.github.com/users/terrajobst/events{/privacy}","received_events_url":"https://api.github.com/users/terrajobst/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2015-11-02T18:37:02Z","updated_at":"2016-08-22T15:37:13Z","closed_at":"2016-08-22T15:37:13Z","body":"When passing an argument on the command line I would expect the semantics to be something like\r\n\r\n```\r\ncmd --arg \"value\"\r\n```\r\n\r\nproduces a long argument `arg` that has value `value`. Note the absence of quotes. This is also important for preserving interior characters. For example,\r\n\r\n```\r\ncmd --arg \"--interior-arg \"abc\"\"\r\n```\r\n\r\nShould produce an argument `arg` with value `--interior-arg \"abc\"`, missing the outer quotes, but preserving interior quotes.\r\n\r\nI think the proper behavior here is just to check if there is a matching quote pair at the beginning and end of an argument value after lexing and, if so, drop exactly those two quotes."},"comment":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/comments/241453332","html_url":"https://github.com/dotnet/corefxlab/issues/401#issuecomment-241453332","issue_url":"https://api.github.com/repos/dotnet/corefxlab/issues/401","id":241453332,"user":{"login":"agocke","id":515774,"avatar_url":"https://avatars.githubusercontent.com/u/515774?v=3","gravatar_id":"","url":"https://api.github.com/users/agocke","html_url":"https://github.com/agocke","followers_url":"https://api.github.com/users/agocke/followers","following_url":"https://api.github.com/users/agocke/following{/other_user}","gists_url":"https://api.github.com/users/agocke/gists{/gist_id}","starred_url":"https://api.github.com/users/agocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agocke/subscriptions","organizations_url":"https://api.github.com/users/agocke/orgs","repos_url":"https://api.github.com/users/agocke/repos","events_url":"https://api.github.com/users/agocke/events{/privacy}","received_events_url":"https://api.github.com/users/agocke/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T15:37:12Z","updated_at":"2016-08-22T15:37:12Z","body":"I think I satisfied myself that the current behavior is correct. "}}
{"actor":{"display_login":"agocke"}}