cobra/doc
re 0bdb9b08f2 fix repos 2022-12-12 17:00:41 +03:00
..
README.md feat: make InitDefaultCompletionCmd public (#1467) 2022-10-10 19:06:30 -04:00
cmd_test.go fix repos 2022-12-12 17:00:41 +03:00
man_docs.go fix repos 2022-12-12 17:00:41 +03:00
man_docs.md fix repos 2022-12-12 17:00:41 +03:00
man_docs_test.go fix repos 2022-12-12 17:00:41 +03:00
man_examples_test.go fix repos 2022-12-12 17:00:41 +03:00
md_docs.go fix repos 2022-12-12 17:00:41 +03:00
md_docs.md fix repos 2022-12-12 17:00:41 +03:00
md_docs_test.go fix repos 2022-12-12 17:00:41 +03:00
rest_docs.go fix repos 2022-12-12 17:00:41 +03:00
rest_docs.md fix repos 2022-12-12 17:00:41 +03:00
rest_docs_test.go fix repos 2022-12-12 17:00:41 +03:00
util.go fix repos 2022-12-12 17:00:41 +03:00
yaml_docs.go fix repos 2022-12-12 17:00:41 +03:00
yaml_docs.md fix repos 2022-12-12 17:00:41 +03:00
yaml_docs_test.go fix repos 2022-12-12 17:00:41 +03:00

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.