E.g. https://pkg.go.dev/github.com/spf13/cobra#Command.HelpTemplate
says:
HelpTemplate return help template for the command. This function is kept for backwards-compatibility reasons.
which implies that it should not be used, and instead we should use some newer func (or mechanism) instead. It would be nice if the the docs here told us what to use. From looking thru the TOC I wasn't able to figure it out so I ended up using this "deprecated" one.
Also, s/return/returns the/