mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Print feedback for hugo genautocomplete
This commit is contained in:
parent
c69835daba
commit
7555e364d0
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ or just source them in directly:
|
||||||
err := cmd.Root().GenBashCompletionFile(autocompleteTarget)
|
err := cmd.Root().GenBashCompletionFile(autocompleteTarget)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
jww.FATAL.Fatalln("Failed to generate shell completion file:", err)
|
jww.FATAL.Fatalln("Failed to generate shell completion file:", err)
|
||||||
|
} else {
|
||||||
|
jww.FEEDBACK.Println("Bash completion file for Hugo saved to", autocompleteTarget)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue