LearnGO/go/pkg/mod/github.com/spf13/cobra@v1.7.0/doc
2024-09-19 21:38:24 -04:00
..
cmd_test.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
man_docs_test.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
man_docs.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
man_docs.md whatcanGOwrong 2024-09-19 21:38:24 -04:00
man_examples_test.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
md_docs_test.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
md_docs.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
md_docs.md whatcanGOwrong 2024-09-19 21:38:24 -04:00
README.md whatcanGOwrong 2024-09-19 21:38:24 -04:00
rest_docs_test.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
rest_docs.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
rest_docs.md whatcanGOwrong 2024-09-19 21:38:24 -04:00
util.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
yaml_docs_test.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
yaml_docs.go whatcanGOwrong 2024-09-19 21:38:24 -04:00
yaml_docs.md whatcanGOwrong 2024-09-19 21:38:24 -04:00

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.