From: Anthony Fok Date: Sat, 8 Aug 2015 04:26:28 +0000 (-0600) Subject: Print feedback for `hugo gendoc` X-Git-Tag: v0.15~217 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c69835daba35ce52596d08dedbee84f4ac16a6e0;p=brevno-suite%2Fhugo Print feedback for `hugo gendoc` --- diff --git a/commands/gendoc.go b/commands/gendoc.go index 34f9c122..fa0a7b9b 100644 --- a/commands/gendoc.go +++ b/commands/gendoc.go @@ -5,6 +5,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/hugo/helpers" "github.com/spf13/hugo/hugofs" + jww "github.com/spf13/jwalterweatherman" "path" "path/filepath" "strings" @@ -51,7 +52,9 @@ for rendering in Hugo.`, return "/commands/" + strings.ToLower(base) + "/" } + jww.FEEDBACK.Println("Generating Hugo command-line documentation in", gendocdir, "...") cobra.GenMarkdownTreeCustom(cmd.Root(), gendocdir, prepender, linkHandler) + jww.FEEDBACK.Println("Done.") }, }