commands: Make more commands non-global

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-09 18:38:21 +02:00
parent fdf1d94ebc
commit 7bc5e89fba
4 changed files with 63 additions and 35 deletions

View File

@@ -197,7 +197,7 @@ func AddCommands() {
HugoCmd.AddCommand(versionCmd)
HugoCmd.AddCommand(envCmd)
HugoCmd.AddCommand(configCmd)
HugoCmd.AddCommand(checkCmd)
HugoCmd.AddCommand(newCheckCmd().getCommand())
HugoCmd.AddCommand(newBenchmarkCmd().getCommand())
HugoCmd.AddCommand(convertCmd)
HugoCmd.AddCommand(newCmd)