feat: make InitDefaultCompletionCmd public (#1467)

* feat: make InitDefaultCompletionCmd public

* PR comments

* Update man_docs_test.go

* Update README.md
This commit is contained in:
Gustavo Bazan
2022-10-10 19:06:30 -04:00
committed by GitHub
parent 2169adb574
commit 860791844e
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -7,6 +7,11 @@
## 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.