...

Text file src/github.com/spf13/cobra/site/content/docgen/_index.md

Documentation: github.com/spf13/cobra/site/content/docgen

     1# Documentation generation
     2
     3- [Man page docs](man.md)
     4- [Markdown docs](md.md)
     5- [Rest docs](rest.md)
     6- [Yaml docs](yaml.md)
     7
     8## Options
     9### `DisableAutoGenTag`
    10
    11You may set `cmd.DisableAutoGenTag = true`
    12to _entirely_ remove the auto generated string "Auto generated by spf13/cobra..."
    13from any documentation source.
    14
    15### `InitDefaultCompletionCmd`
    16
    17You may call `cmd.InitDefaultCompletionCmd()` to document the default autocompletion command.

View as plain text