Version Flag

Cobra adds a top-level ‘—version’ flag if the Version field is set on the root command.
Running an application with the ‘—version’ flag will print the version to stdout using
the version template. The template can be customized using the
cmd.SetVersionTemplate(s string) function.