{"action":"created","issue":{"url":"https://api.github.com/repos/oblique/create_ap/issues/66","labels_url":"https://api.github.com/repos/oblique/create_ap/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/oblique/create_ap/issues/66/comments","events_url":"https://api.github.com/repos/oblique/create_ap/issues/66/events","html_url":"https://github.com/oblique/create_ap/pull/66","id":67916206,"number":66,"title":"Add new file that provides bash completion routine","user":{"login":"hashken","id":1597707,"avatar_url":"https://avatars.githubusercontent.com/u/1597707?v=3","gravatar_id":"","url":"https://api.github.com/users/hashken","html_url":"https://github.com/hashken","followers_url":"https://api.github.com/users/hashken/followers","following_url":"https://api.github.com/users/hashken/following{/other_user}","gists_url":"https://api.github.com/users/hashken/gists{/gist_id}","starred_url":"https://api.github.com/users/hashken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashken/subscriptions","organizations_url":"https://api.github.com/users/hashken/orgs","repos_url":"https://api.github.com/users/hashken/repos","events_url":"https://api.github.com/users/hashken/events{/privacy}","received_events_url":"https://api.github.com/users/hashken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-12T13:38:01Z","updated_at":"2015-04-14T09:24:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/oblique/create_ap/pulls/66","html_url":"https://github.com/oblique/create_ap/pull/66","diff_url":"https://github.com/oblique/create_ap/pull/66.diff","patch_url":"https://github.com/oblique/create_ap/pull/66.patch"},"body":"* For the completion to work, create_ap needs to be in the user's PATH. \r\n* I couldn't think of a way to work around this, as the routine requires access to the help string. If you are willing to have the usage function both inside the bash_completion file and the create_ap script, then user PATH requirement could be avoided. But, that would mean remembering to keep both the contents in sync when a change is made to the help string.\r\n* Right now the routine just provides completion of flags and switches; it can further be extended to provide completion of args to switches also. If you are fine with the basic routine, I can work on adding extended support.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/oblique/create_ap/issues/comments/92715387","html_url":"https://github.com/oblique/create_ap/pull/66#issuecomment-92715387","issue_url":"https://api.github.com/repos/oblique/create_ap/issues/66","id":92715387,"user":{"login":"oblique","id":194040,"avatar_url":"https://avatars.githubusercontent.com/u/194040?v=3","gravatar_id":"","url":"https://api.github.com/users/oblique","html_url":"https://github.com/oblique","followers_url":"https://api.github.com/users/oblique/followers","following_url":"https://api.github.com/users/oblique/following{/other_user}","gists_url":"https://api.github.com/users/oblique/gists{/gist_id}","starred_url":"https://api.github.com/users/oblique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblique/subscriptions","organizations_url":"https://api.github.com/users/oblique/orgs","repos_url":"https://api.github.com/users/oblique/repos","events_url":"https://api.github.com/users/oblique/events{/privacy}","received_events_url":"https://api.github.com/users/oblique/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T09:24:21Z","updated_at":"2015-04-14T09:24:21Z","body":"I currently at work. I will check your comments and your patch later."}}