mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
860791844e
* feat: make InitDefaultCompletionCmd public * PR comments * Update man_docs_test.go * Update README.md
17 lines
473 B
Markdown
17 lines
473 B
Markdown
# Documentation generation
|
|
|
|
- [Man page docs](./man_docs.md)
|
|
- [Markdown docs](./md_docs.md)
|
|
- [Rest docs](./rest_docs.md)
|
|
- [Yaml docs](./yaml_docs.md)
|
|
|
|
## 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.
|