feat: #1140 added godoc

This commit is contained in:
Alexander Miranda 2024-06-19 12:59:33 -05:00
parent b522459430
commit c71ca75519
No known key found for this signature in database
GPG key ID: 22010069FB6DBA40

View file

@ -157,6 +157,8 @@ func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, linkHa
return nil
}
// GenMarkdownTreeCustomWithFooter is the same as GenMarkdownTree, but
// with custom filePrepender, fileAppender, and linkHandler.
func GenMarkdownTreeCustomWithFooter(
cmd *cobra.Command, dir string, filePrepender, fileAppender, linkHandler func(string) string) error {
for _, c := range cmd.Commands() {