mirror of
https://github.com/spf13/cobra.git
synced 2024-11-15 01:38:17 -07:00
860791844e
* feat: make InitDefaultCompletionCmd public * PR comments * Update man_docs_test.go * Update README.md |
||
---|---|---|
.. | ||
cmd_test.go | ||
man_docs_test.go | ||
man_docs.go | ||
man_docs.md | ||
man_examples_test.go | ||
md_docs_test.go | ||
md_docs.go | ||
md_docs.md | ||
README.md | ||
rest_docs_test.go | ||
rest_docs.go | ||
rest_docs.md | ||
util.go | ||
yaml_docs_test.go | ||
yaml_docs.go | ||
yaml_docs.md |
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.