Restructure the gen commands

Fixes #1603
This commit is contained in:
Bjørn Erik Pedersen
2015-11-23 16:51:12 +01:00
parent 831e936846
commit 3d09de8910
5 changed files with 19 additions and 6 deletions

View File

@@ -86,10 +86,13 @@ func AddCommands() {
HugoCmd.AddCommand(newCmd)
HugoCmd.AddCommand(listCmd)
HugoCmd.AddCommand(undraftCmd)
HugoCmd.AddCommand(genautocompleteCmd)
HugoCmd.AddCommand(gendocCmd)
HugoCmd.AddCommand(genmanCmd)
HugoCmd.AddCommand(importCmd)
HugoCmd.AddCommand(genCmd)
genCmd.AddCommand(genautocompleteCmd)
genCmd.AddCommand(gendocCmd)
genCmd.AddCommand(genmanCmd)
}
//Initializes flags