2020-04-29 20:15:55 +03:00
|
|
|
# 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`
|
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.
|