Adds shell completion generation as part of the build, as well as tweaking install scripts/templates/CI to use them.