2020-10-04 23:00:12 +00:00
|
|
|
---
|
|
|
|
weight: 20
|
|
|
|
---
|
|
|
|
|
2020-04-29 17:15:55 +00:00
|
|
|
# Documentation generation
|
|
|
|
|
2023-06-20 21:15:36 +00:00
|
|
|
- [Man page docs](man.md)
|
|
|
|
- [Markdown docs](md.md)
|
|
|
|
- [Rest docs](rest.md)
|
|
|
|
- [Yaml docs](yaml.md)
|
2020-04-29 17:15:55 +00:00
|
|
|
|
|
|
|
## Options
|
2020-10-04 23:00:12 +00:00
|
|
|
|
2020-04-29 17:15:55 +00:00
|
|
|
### `DisableAutoGenTag`
|
2022-10-10 23:06:30 +00:00
|
|
|
|
2020-10-04 23:00:12 +00:00
|
|
|
You may set `cmd.DisableAutoGenTag = true` to _entirely_ remove the auto generated string
|
|
|
|
"Auto generated by spf13/cobra..." from any documentation source.
|
2022-10-10 23:06:30 +00:00
|
|
|
|
|
|
|
### `InitDefaultCompletionCmd`
|
|
|
|
|
|
|
|
You may call `cmd.InitDefaultCompletionCmd()` to document the default autocompletion command.
|