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