Files
LearnGO/go/pkg/mod/github.com/spf13/cobra@v1.7.0/doc/README.md
T
2024-09-19 21:38:24 -04:00

473 B

Documentation generation

Options

DisableAutoGenTag

You may set cmd.DisableAutoGenTag = true to entirely remove the auto generated string "Auto generated by spf13/cobra..." from any documentation source.

InitDefaultCompletionCmd

You may call cmd.InitDefaultCompletionCmd() to document the default autocompletion command.