mirror of https://github.com/spf13/cobra.git
feat: #1140 added godoc
This commit is contained in:
parent
b522459430
commit
c71ca75519
|
@ -157,6 +157,8 @@ func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, linkHa
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GenMarkdownTreeCustomWithFooter is the same as GenMarkdownTree, but
|
||||||
|
// with custom filePrepender, fileAppender, and linkHandler.
|
||||||
func GenMarkdownTreeCustomWithFooter(
|
func GenMarkdownTreeCustomWithFooter(
|
||||||
cmd *cobra.Command, dir string, filePrepender, fileAppender, linkHandler func(string) string) error {
|
cmd *cobra.Command, dir string, filePrepender, fileAppender, linkHandler func(string) string) error {
|
||||||
for _, c := range cmd.Commands() {
|
for _, c := range cmd.Commands() {
|
||||||
|
|
Loading…
Reference in New Issue