{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/10843","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/10843/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10843/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/10843/events","html_url":"https://github.com/openshift/origin/pull/10843","id":175613889,"number":10843,"title":"suggest exposable resources oc expose","user":{"login":"juanvallejo","id":3902875,"avatar_url":"https://avatars.githubusercontent.com/u/3902875?v=3","gravatar_id":"","url":"https://api.github.com/users/juanvallejo","html_url":"https://github.com/juanvallejo","followers_url":"https://api.github.com/users/juanvallejo/followers","following_url":"https://api.github.com/users/juanvallejo/following{/other_user}","gists_url":"https://api.github.com/users/juanvallejo/gists{/gist_id}","starred_url":"https://api.github.com/users/juanvallejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanvallejo/subscriptions","organizations_url":"https://api.github.com/users/juanvallejo/orgs","repos_url":"https://api.github.com/users/juanvallejo/repos","events_url":"https://api.github.com/users/juanvallejo/events{/privacy}","received_events_url":"https://api.github.com/users/juanvallejo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/needs-rebase","name":"needs-rebase","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-07T21:43:13Z","updated_at":"2016-09-21T20:37:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10843","html_url":"https://github.com/openshift/origin/pull/10843","diff_url":"https://github.com/openshift/origin/pull/10843.diff","patch_url":"https://github.com/openshift/origin/pull/10843.patch"},"body":"Related Trello Card:\r\nhttps://trello.com/c/04lpfTQR/451-8-cli-improved-flows-and-ux-in-the-cli-evg-ux-p3\r\n\r\nThis patch updates `oc expose` output (with no resources provided)\r\nto a `kcmdutil.UsageError` so that a suggestion to use `oc  expose -h`\r\nis displayed.\r\n\r\n##### Before\r\n`$ oc expose`\r\n```\r\nerror: you must provide one or more resources by argument or filename (.json|.yaml|.yml|stdin)\r\n```\r\n\r\n##### After\r\n```\r\nerror: You must provide one or more resources by argument or filename.\r\nExample resource specifications include:\r\n   '-f rsrc.yaml'\r\n   '--filename=rsrc.json'\r\n   'pods my-pod'\r\n   'services'\r\nSee 'oc expose -h' for help and examples.\r\n```\r\n\r\ncc @openshift/cli-review "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/248735478","html_url":"https://github.com/openshift/origin/pull/10843#issuecomment-248735478","issue_url":"https://api.github.com/repos/openshift/origin/issues/10843","id":248735478,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T20:37:53Z","updated_at":"2016-09-21T20:37:53Z","body":"Evaluated for origin test up to 095dc9c4611c7a7b0d7702097163faaadbbc78f2"}}
{"actor":{"display_login":"openshift-bot"}}