{"action":"closed","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/1648","labels_url":"https://api.github.com/repos/openshift/origin/issues/1648/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/1648/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/1648/events","html_url":"https://github.com/openshift/origin/issues/1648","id":67194495,"number":1648,"title":"No way to (programmatically or not) get list of resource types for \"osc get\"","user":{"login":"sspeiche","id":727196,"avatar_url":"https://avatars.githubusercontent.com/u/727196?v=3","gravatar_id":"","url":"https://api.github.com/users/sspeiche","html_url":"https://github.com/sspeiche","followers_url":"https://api.github.com/users/sspeiche/followers","following_url":"https://api.github.com/users/sspeiche/following{/other_user}","gists_url":"https://api.github.com/users/sspeiche/gists{/gist_id}","starred_url":"https://api.github.com/users/sspeiche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sspeiche/subscriptions","organizations_url":"https://api.github.com/users/sspeiche/orgs","repos_url":"https://api.github.com/users/sspeiche/repos","events_url":"https://api.github.com/users/sspeiche/events{/privacy}","received_events_url":"https://api.github.com/users/sspeiche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/cli","name":"component/cli","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P2","name":"priority/P2","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T18:51:32Z","updated_at":"2015-05-11T21:03:40Z","closed_at":"2015-05-11T21:03:40Z","body":"I only see 2 ways, both don't make it too easy on an end user:\r\n 1. **cli**\r\n```\r\n    $ openshift cli get --help\r\n    Display one or many resources.\r\n    \r\n    Possible resources include builds, buildConfigs, services, pods, **etc.**\r\n```\r\n 1. **rtfm**\r\n   [See docs](https://ci.openshift.redhat.com/openshift-docs-master-testing/latest/using_openshift/cli.html#cli-object-types)\r\n\r\nI prefer either I get error message with valid types when I select invalid or something like `osc get-types`."}}