Add hugo env command

Useful for bug reports.

Fixes #2523
This commit is contained in:
Bjørn Erik Pedersen
2016-10-05 10:20:25 +02:00
parent 80367ea218
commit 2a4ed1c492
3 changed files with 50 additions and 10 deletions

View File

@@ -185,6 +185,7 @@ func Execute() {
func AddCommands() {
HugoCmd.AddCommand(serverCmd)
HugoCmd.AddCommand(versionCmd)
HugoCmd.AddCommand(envCmd)
HugoCmd.AddCommand(configCmd)
HugoCmd.AddCommand(checkCmd)
HugoCmd.AddCommand(benchmarkCmd)