Attached is a patch that adds bash_completion support for plague-client.
Created attachment 121283 [details] bash_completion support for plague-client
Nevermind, there seems to be resistance elsewhere adding these snippets to corresponding packages, so I'll ship them all in the bash-completion package at least for now.
Not that I wouldn't have added them... I was just preoccupied with the depsolve stuff and hadn't gotten around to it. So bash completion stuff has to live in its own package?
This stuff can live in either the bash-completion package or the package that it provides completions for. The advantage of the former is that it doesn't "clutter" other packages, and the advantage of the latter is that I believe it would be more likely to be up to date with the thing it provides completions for and would match the options of the actually installed version of the package (assuming, of course, that it will be kept up to date when options are added/removed/changed). I'm prepared to have this in the bash-completion package, but if you think it's ok to have it in plague-client, just go ahead and apply it and let me know and I won't ship a conflicting one in bash-completion.