mirror of
https://github.com/spf13/cobra
synced 2024-12-28 23:37:09 +00:00
17 lines
445 B
Markdown
17 lines
445 B
Markdown
# 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.
|