Generate markdown for help topics

This commit is contained in:
Sam Coe 2020-10-22 14:01:08 +02:00
parent c7ede29779
commit f770c6481c
No known key found for this signature in database
GPG key ID: 8E322C20F811D086
6 changed files with 25 additions and 2 deletions

View file

@ -16,6 +16,9 @@ func NewCmdVersion(f *cmdutil.Factory, version, buildDate string) *cobra.Command
Run: func(cmd *cobra.Command, args []string) {
fmt.Fprint(f.IOStreams.Out, Format(version, buildDate))
},
Annotations: map[string]string{
"markdown:generate": "false",
},
}
cmdutil.DisableAuthCheck(cmd)