{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/866","repository_url":"https://api.github.com/repos/cloudfoundry/cli","labels_url":"https://api.github.com/repos/cloudfoundry/cli/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cli/issues/866/comments","events_url":"https://api.github.com/repos/cloudfoundry/cli/issues/866/events","html_url":"https://github.com/cloudfoundry/cli/issues/866","id":161791990,"number":866,"title":"Regression on CliCommandWithoutTerminalOutput function for plugin creation","user":{"login":"ArthurHlt","id":5410858,"avatar_url":"https://avatars.githubusercontent.com/u/5410858?v=3","gravatar_id":"","url":"https://api.github.com/users/ArthurHlt","html_url":"https://github.com/ArthurHlt","followers_url":"https://api.github.com/users/ArthurHlt/followers","following_url":"https://api.github.com/users/ArthurHlt/following{/other_user}","gists_url":"https://api.github.com/users/ArthurHlt/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthurHlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthurHlt/subscriptions","organizations_url":"https://api.github.com/users/ArthurHlt/orgs","repos_url":"https://api.github.com/users/ArthurHlt/repos","events_url":"https://api.github.com/users/ArthurHlt/events{/privacy}","received_events_url":"https://api.github.com/users/ArthurHlt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-22T21:33:37Z","updated_at":"2016-06-22T21:33:40Z","closed_at":null,"body":"The function `CliCommandWithoutTerminalOutput` send back now an array with only one entry which contains all the result instead of return an array with one entry by line.\r\n\r\nThat's break any plugin which parse output from this result, i can identify for example [plugin open](https://github.com/cloudfoundry-community/cf-plugin-open) or [manifest-generator](https://github.com/ArthurHlt/plugin-cf-manifest-generator).\r\n\r\nThe commit and line which break the previous behaviour came from this: https://github.com/cloudfoundry/cli/commit/c7e946e2527216b9705deeaa871087da5163aaf6#diff-04f2b4dc8b760116bdc10b11eb8c5975R191 \r\nMy 2 cents will be to replace this line of code by this line of code `v := strings.Split(cmd.outputBucket.String(), \"\\n\")` \r\n\r\n\r\n### CLI Version\r\n6.17+"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cli/issues/comments/227883737","html_url":"https://github.com/cloudfoundry/cli/issues/866#issuecomment-227883737","issue_url":"https://api.github.com/repos/cloudfoundry/cli/issues/866","id":227883737,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T21:33:39Z","updated_at":"2016-06-22T21:33:39Z","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/122081589 \n\nThe labels on this github issue will be updated when the story is started."}}
{"actor":{"display_login":"cf-gitbot"}}