{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/1566","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/1566/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/1566/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/1566/events","html_url":"https://github.com/Azure/azure-cli/issues/1566","id":195484426,"number":1566,"title":"[Storage] blob upload output is not json but a dynamic progress which  doesn't align with the output format standard","user":{"login":"hasonmsft","id":16345068,"avatar_url":"https://avatars.githubusercontent.com/u/16345068?v=3","gravatar_id":"","url":"https://api.github.com/users/hasonmsft","html_url":"https://github.com/hasonmsft","followers_url":"https://api.github.com/users/hasonmsft/followers","following_url":"https://api.github.com/users/hasonmsft/following{/other_user}","gists_url":"https://api.github.com/users/hasonmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/hasonmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasonmsft/subscriptions","organizations_url":"https://api.github.com/users/hasonmsft/orgs","repos_url":"https://api.github.com/users/hasonmsft/repos","events_url":"https://api.github.com/users/hasonmsft/events{/privacy}","received_events_url":"https://api.github.com/users/hasonmsft/received_events","type":"User","site_admin":false},"labels":[{"id":497896472,"url":"https://api.github.com/repos/Azure/azure-cli/labels/BugBash","name":"BugBash","color":"5319e7","default":false},{"id":418939315,"url":"https://api.github.com/repos/Azure/azure-cli/labels/Storage","name":"Storage","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T09:46:42Z","updated_at":"2016-12-14T23:06:22Z","closed_at":null,"body":"Also, it's not aligned with `az storage blob download`\r\n```\r\nC:\\tmp>az storage blob upload -c hasonclibugbash -f c:\\tmp\\local.txt -n upload.txt -o json\r\nPercent complete: %100.0 => progress but not json output\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/267185274","html_url":"https://github.com/Azure/azure-cli/issues/1566#issuecomment-267185274","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/1566","id":267185274,"user":{"login":"tjprescott","id":5723682,"avatar_url":"https://avatars.githubusercontent.com/u/5723682?v=3","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T23:06:22Z","updated_at":"2016-12-14T23:06:22Z","body":"What do you mean it's not aligned with `az storage blob download`?  \r\n\r\nThe upload command in the SDK does not return a value. If it did, the return value would be in JSON/table/etc. format. The progress indicator uses the `create_blob_from_path`'s progress_callback parameter to provide information to the user via STDERR. In general the CLI is quiet, but in the few cases where informational text is output (such as this), it does not consider the output format."}}
{"actor":{"display_login":"tjprescott"}}