The awesome go-cli package makes it trivial to generate man pages [1] based on the commands/flags. This can be easily added to CI to avoid having to maintain a separate man page.
[1]: https://pkg.go.dev/github.com/urfave/cli/v2#App.ToManWithSec...
[1]: https://pkg.go.dev/github.com/urfave/cli/v2#App.ToManWithSec...