Adding bash completion
sudo wget -O /etc/bash_completion.d/tea https://raw.githubusercontent.com/urfave/cli/master/autocomplete/bash_autocomplete && sudo chmod +x /etc/bash_completion.d/tea
rm it from milestone since I think this has to be done by distro-package-maintainers
but we can leave a note in the docs ...
We could have a subcommand to detect and setup the bash-completion.
hmm looks like hugo for examle has something similar:
./bin/hugo gen man ./bin/hugo gen autocomplete --completionfile="$builddir"/hugo.bash
by the way urfave/cli has a function to generate man page out of the box too
I think this is our responsibility.
Imagine beeing a package maintainer trying to add autocompletion for three different shells with three different ways to do it of which one is a hack, one requires Go code and the other one must be supported by the application. You probably won't do it.
we either add a "contrib" folder who store manual generated fish/bash completion files or generate things for releases with ci
Deleting a branch is permanent. It CANNOT be undone. Continue?