Add gendoc command

Using the new, great auto-doc in Cobra.

This commit also contains a current result of that command added to a commands section in docs.

Fixes #1136
This commit is contained in:
bep
2015-05-13 15:31:30 +02:00
committed by spf13
parent be920fdb2c
commit 599d1b9786
23 changed files with 1132 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ func AddCommands() {
HugoCmd.AddCommand(listCmd)
HugoCmd.AddCommand(undraftCmd)
HugoCmd.AddCommand(genautocompleteCmd)
HugoCmd.AddCommand(gendocCmd)
}
//Initializes flags