diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-04-09 22:09:11 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-04-11 09:50:18 +0200 |
commit | e0621d207ce3278a82f8a60607e9cdd304149029 (patch) | |
tree | 086cebf89d337a5e65834b32fc06c0f04ea3b413 /commands/hugo.go | |
parent | e26a8b242a6434117d089a0799238add7025dbf4 (diff) | |
download | hugo-e0621d207ce3278a82f8a60607e9cdd304149029.tar.gz hugo-e0621d207ce3278a82f8a60607e9cdd304149029.zip |
commands: Make the gen commands non-global
See #4598
Diffstat (limited to 'commands/hugo.go')
-rw-r--r-- | commands/hugo.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index 30670a30e..8f1df441a 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -204,12 +204,7 @@ func AddCommands() { HugoCmd.AddCommand(newListCmd().getCommand()) HugoCmd.AddCommand(newImportCmd().getCommand()) - HugoCmd.AddCommand(genCmd) - genCmd.AddCommand(genautocompleteCmd) - genCmd.AddCommand(gendocCmd) - genCmd.AddCommand(genmanCmd) - genCmd.AddCommand(createGenDocsHelper().getCommand()) - genCmd.AddCommand(createGenChromaStyles().getCommand()) + HugoCmd.AddCommand(newGenCmd().getCommand()) } |