2020-04-29 10:15:55 -07:00
|
|
|
# Documentation generation
|
|
|
|
|
2023-06-20 14:15:36 -07:00
|
|
|
- [Man page docs](man.md)
|
|
|
|
- [Markdown docs](md.md)
|
|
|
|
- [Rest docs](rest.md)
|
|
|
|
- [Yaml docs](yaml.md)
|
2020-04-29 10:15:55 -07:00
|
|
|
|
|
|
|
## Options
|
|
|
|
### `DisableAutoGenTag`
|
2022-10-10 16:06:30 -07:00
|
|
|
|
2020-04-29 10:15:55 -07: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 16:06:30 -07:00
|
|
|
|
|
|
|
### `InitDefaultCompletionCmd`
|
|
|
|
|
|
|
|
You may call `cmd.InitDefaultCompletionCmd()` to document the default autocompletion command.
|