mirror of
https://github.com/spf13/cobra
synced 2025-05-02 03:17:24 +00:00
21 lines
466 B
Markdown
21 lines
466 B
Markdown
---
|
|
weight: 20
|
|
---
|
|
|
|
# Documentation generation
|
|
|
|
- [Man page docs](man.md)
|
|
- [Markdown docs](md.md)
|
|
- [Rest docs](rest.md)
|
|
- [Yaml docs](yaml.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.
|