{"action":"created","issue":{"url":"https://api.github.com/repos/kura/vagrant-bash-completion/issues/27","labels_url":"https://api.github.com/repos/kura/vagrant-bash-completion/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/kura/vagrant-bash-completion/issues/27/comments","events_url":"https://api.github.com/repos/kura/vagrant-bash-completion/issues/27/events","html_url":"https://github.com/kura/vagrant-bash-completion/pull/27","id":38341773,"number":27,"title":"Added autodiscovery mechnism for getting vagrant's full command list","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-07-21T20:32:05Z","updated_at":"2015-01-14T14:56:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kura/vagrant-bash-completion/pulls/27","html_url":"https://github.com/kura/vagrant-bash-completion/pull/27","diff_url":"https://github.com/kura/vagrant-bash-completion/pull/27.diff","patch_url":"https://github.com/kura/vagrant-bash-completion/pull/27.patch"},"body":"I'm using vagrant with openshift plugin, so I'm having reacher list of commands available with vagrant. So I though it might be good idea to create such auto-discovery within your autocompletion. So here it is :)"},"comment":{"url":"https://api.github.com/repos/kura/vagrant-bash-completion/issues/comments/69927426","html_url":"https://github.com/kura/vagrant-bash-completion/pull/27#issuecomment-69927426","issue_url":"https://api.github.com/repos/kura/vagrant-bash-completion/issues/27","id":69927426,"user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T14:56:30Z","updated_at":"2015-01-14T14:56:30Z","body":"@Mattias- thx for you input :smile:. My initial goal was to do live reading of the subcommands, unfortunately vagrant response times were so long (and trust me that delay wasn't acceptable) I resigned of that idea at the time of writing it and created the autodiscovery mechanism during `make install`. \r\nI'm not sure why I haven't used the `list-commands`, though. I'll have a look if it's usable. Also the caching idea makes sense, I'll have a look at it, but I can't promise anything in short term :blush: \r\nAs for the flags, well the project contains some of them, so I though of having them all, since the mechanics for that are in place, it's debatable, I can be convince to do it one way or the other."}}