{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2850","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2850/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2850/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2850/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2850","id":152959450,"number":2850,"title":"CLI: command parser do not parse correclty parameters with whitespaces in specified value","user":{"login":"romangromov","id":1655573,"avatar_url":"https://avatars.githubusercontent.com/u/1655573?v=3","gravatar_id":"","url":"https://api.github.com/users/romangromov","html_url":"https://github.com/romangromov","followers_url":"https://api.github.com/users/romangromov/followers","following_url":"https://api.github.com/users/romangromov/following{/other_user}","gists_url":"https://api.github.com/users/romangromov/gists{/gist_id}","starred_url":"https://api.github.com/users/romangromov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romangromov/subscriptions","organizations_url":"https://api.github.com/users/romangromov/orgs","repos_url":"https://api.github.com/users/romangromov/repos","events_url":"https://api.github.com/users/romangromov/events{/privacy}","received_events_url":"https://api.github.com/users/romangromov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/Team","name":"Team","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-04T08:42:18Z","updated_at":"2016-05-12T03:00:01Z","closed_at":"2016-05-12T03:00:01Z","body":"CLI Version: **0.9.20**\r\nOS Type: at least Win (other OS not checked)\r\nInstallation via:  any \r\n\r\nMode: **any**\r\n\r\nDescription:\r\n`azure foo --bar \"baz hello world\"` will fail with parse expection:\r\n\r\nerror: unknown option `-xxx' \r\n\r\nSteps to reproduce:\r\n1) ASM: Create Vnet with whitespace in it's name via old Portal; \r\n2) Then run `azure vm create --virtual-network-name \"Vnet with whitespaces\"`\r\n3) Also reported issue here https://github.com/Azure/azure-xplat-cli/issues/2509\r\n\r\nError:\r\nerror: unknown option `--virtual-network-name'\r\n\r\nNote: looks like this issue comes from `commander.js`, probably commander package needs to be updated\r\n"}}