Generated code for bash-completion, based on @swansontec impl.