tree: 9e4da242159a5a372ae215708ae1980f79a1d4c3 [path history] [tgz]
  1. man_docs.go
  2. man_docs.md
  3. md_docs.go
  4. md_docs.md
  5. README.md
  6. rest_docs.go
  7. rest_docs.md
  8. util.go
  9. yaml_docs.go
  10. yaml_docs.md
vendor/github.com/spf13/cobra/doc/README.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.