{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/cli/issues/339","repository_url":"https://api.github.com/repos/heroku/cli","labels_url":"https://api.github.com/repos/heroku/cli/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/heroku/cli/issues/339/comments","events_url":"https://api.github.com/repos/heroku/cli/issues/339/events","html_url":"https://github.com/heroku/cli/issues/339","id":180353682,"number":339,"title":"Programmatic way to query for available commands","user":{"login":"guw","id":191472,"avatar_url":"https://avatars.githubusercontent.com/u/191472?v=3","gravatar_id":"","url":"https://api.github.com/users/guw","html_url":"https://github.com/guw","followers_url":"https://api.github.com/users/guw/followers","following_url":"https://api.github.com/users/guw/following{/other_user}","gists_url":"https://api.github.com/users/guw/gists{/gist_id}","starred_url":"https://api.github.com/users/guw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guw/subscriptions","organizations_url":"https://api.github.com/users/guw/orgs","repos_url":"https://api.github.com/users/guw/repos","events_url":"https://api.github.com/users/guw/events{/privacy}","received_events_url":"https://api.github.com/users/guw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-30T17:01:28Z","updated_at":"2016-09-30T17:10:51Z","closed_at":"2016-09-30T17:10:51Z","body":"It would be great if there is a way to query heroku cli for a list of available commands (eg., all starting with a specific prefix) and have the result available as a JSON object to parse.\r\n\r\nSomething like:\r\n`heroku help <prefix> --json`\r\n\r\nAdditional information that should be provided as part of the JSON object:\r\n\r\n- command\r\n- short description\r\n- long description\r\n- parameters\r\n  - mandatory/optional\r\n  - type \r\n  - description\r\n- arguments\r\n  - mandatory/optional\r\n  - type\r\n  - description\r\n\r\nThe use case is user assistance. We are integrating a Heroku CLI based solution into an IDE and would like to provide things like content assist as well as resource/file pickers, etc."},"comment":{"url":"https://api.github.com/repos/heroku/cli/issues/comments/250799884","html_url":"https://github.com/heroku/cli/issues/339#issuecomment-250799884","issue_url":"https://api.github.com/repos/heroku/cli/issues/339","id":250799884,"user":{"login":"guw","id":191472,"avatar_url":"https://avatars.githubusercontent.com/u/191472?v=3","gravatar_id":"","url":"https://api.github.com/users/guw","html_url":"https://github.com/guw","followers_url":"https://api.github.com/users/guw/followers","following_url":"https://api.github.com/users/guw/following{/other_user}","gists_url":"https://api.github.com/users/guw/gists{/gist_id}","starred_url":"https://api.github.com/users/guw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guw/subscriptions","organizations_url":"https://api.github.com/users/guw/orgs","repos_url":"https://api.github.com/users/guw/repos","events_url":"https://api.github.com/users/guw/events{/privacy}","received_events_url":"https://api.github.com/users/guw/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T17:10:51Z","updated_at":"2016-09-30T17:10:51Z","body":"Perfect. I'll have a look at the structure."}}
{"actor":{"display_login":"guw"}}