{"action":"created","issue":{"url":"https://api.github.com/repos/alecthomas/kingpin/issues/106","repository_url":"https://api.github.com/repos/alecthomas/kingpin","labels_url":"https://api.github.com/repos/alecthomas/kingpin/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/alecthomas/kingpin/issues/106/comments","events_url":"https://api.github.com/repos/alecthomas/kingpin/issues/106/events","html_url":"https://github.com/alecthomas/kingpin/pull/106","id":134480623,"number":106,"title":"Autocomplete a command's args","user":{"login":"heewa","id":232685,"avatar_url":"https://avatars.githubusercontent.com/u/232685?v=3","gravatar_id":"","url":"https://api.github.com/users/heewa","html_url":"https://github.com/heewa","followers_url":"https://api.github.com/users/heewa/followers","following_url":"https://api.github.com/users/heewa/following{/other_user}","gists_url":"https://api.github.com/users/heewa/gists{/gist_id}","starred_url":"https://api.github.com/users/heewa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heewa/subscriptions","organizations_url":"https://api.github.com/users/heewa/orgs","repos_url":"https://api.github.com/users/heewa/repos","events_url":"https://api.github.com/users/heewa/events{/privacy}","received_events_url":"https://api.github.com/users/heewa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T04:44:15Z","updated_at":"2016-02-18T05:24:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alecthomas/kingpin/pulls/106","html_url":"https://github.com/alecthomas/kingpin/pull/106","diff_url":"https://github.com/alecthomas/kingpin/pull/106.diff","patch_url":"https://github.com/alecthomas/kingpin/pull/106.patch"},"body":"This change handles autocompleting scenarios like `program command <tab>` where `command` has arguments with completion options or an action-fn. For ex, if git used kingpin, `git checkout <tab>` could complete branch names."},"comment":{"url":"https://api.github.com/repos/alecthomas/kingpin/issues/comments/185547982","html_url":"https://github.com/alecthomas/kingpin/pull/106#issuecomment-185547982","issue_url":"https://api.github.com/repos/alecthomas/kingpin/issues/106","id":185547982,"user":{"login":"alecthomas","id":41767,"avatar_url":"https://avatars.githubusercontent.com/u/41767?v=3","gravatar_id":"","url":"https://api.github.com/users/alecthomas","html_url":"https://github.com/alecthomas","followers_url":"https://api.github.com/users/alecthomas/followers","following_url":"https://api.github.com/users/alecthomas/following{/other_user}","gists_url":"https://api.github.com/users/alecthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/alecthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecthomas/subscriptions","organizations_url":"https://api.github.com/users/alecthomas/orgs","repos_url":"https://api.github.com/users/alecthomas/repos","events_url":"https://api.github.com/users/alecthomas/events{/privacy}","received_events_url":"https://api.github.com/users/alecthomas/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T05:24:52Z","updated_at":"2016-02-18T05:24:52Z","body":"Hi @heewa,\r\n\r\nI'd love to include this if the kinks can be worked out; it would make Kingpin's completion amazing.\r\n\r\nRelated, I don't think the completion code in master works with commands either (at least, not in the curl example code), so if you can get args working it would be great to get commands working too.\r\n\r\nThanks,\r\nAlec"}}