mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
feat: #1140 added godoc
This commit is contained in:
parent
b522459430
commit
c71ca75519
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue