{"action":"created","issue":{"url":"https://api.github.com/repos/smira/aptly/issues/171","labels_url":"https://api.github.com/repos/smira/aptly/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/smira/aptly/issues/171/comments","events_url":"https://api.github.com/repos/smira/aptly/issues/171/events","html_url":"https://github.com/smira/aptly/issues/171","id":54431327,"number":171,"title":"bash completion!","user":{"login":"lambdafu","id":1138455,"avatar_url":"https://avatars.githubusercontent.com/u/1138455?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdafu","html_url":"https://github.com/lambdafu","followers_url":"https://api.github.com/users/lambdafu/followers","following_url":"https://api.github.com/users/lambdafu/following{/other_user}","gists_url":"https://api.github.com/users/lambdafu/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdafu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdafu/subscriptions","organizations_url":"https://api.github.com/users/lambdafu/orgs","repos_url":"https://api.github.com/users/lambdafu/repos","events_url":"https://api.github.com/users/lambdafu/events{/privacy}","received_events_url":"https://api.github.com/users/lambdafu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-15T10:04:41Z","updated_at":"2015-01-15T18:13:05Z","closed_at":null,"body":"Of course :) would make the command line a lot more comfortable, with automatic command/option completion and also completion on mirror/snapshot/repo-names.\r\n\r\nBy the way, I was a bit surprised to see long options introduced with a single-dash. Interesting touch.\r\n"},"comment":{"url":"https://api.github.com/repos/smira/aptly/issues/comments/70132781","html_url":"https://github.com/smira/aptly/issues/171#issuecomment-70132781","issue_url":"https://api.github.com/repos/smira/aptly/issues/171","id":70132781,"user":{"login":"lambdafu","id":1138455,"avatar_url":"https://avatars.githubusercontent.com/u/1138455?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdafu","html_url":"https://github.com/lambdafu","followers_url":"https://api.github.com/users/lambdafu/followers","following_url":"https://api.github.com/users/lambdafu/following{/other_user}","gists_url":"https://api.github.com/users/lambdafu/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdafu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdafu/subscriptions","organizations_url":"https://api.github.com/users/lambdafu/orgs","repos_url":"https://api.github.com/users/lambdafu/repos","events_url":"https://api.github.com/users/lambdafu/events{/privacy}","received_events_url":"https://api.github.com/users/lambdafu/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T18:13:05Z","updated_at":"2015-01-15T18:13:05Z","body":"Awesome! Just for reference, here are the steps to get this working in a vanilla ubuntu docker image:\r\n\r\n```\r\nRUN wget https://github.com/aptly-dev/aptly-bash-completion/raw/master/aptly -O /etc/bash_completion.d/aptly\r\nRUN apt-get update && apt-get install -y bash-completion\r\nRUN echo \". /etc/bash_completion\" >> /root/.bashrc\r\n```\r\n\r\nThanks a lot for your work, I appreciate it!"}}