Re-establish all the server flags

Updates #10947
This commit is contained in:
Bjørn Erik Pedersen 2023-05-17 12:45:51 +02:00
parent 5d857165fe
commit 5251f015bf
4 changed files with 53 additions and 31 deletions

View file

@ -20,6 +20,7 @@ import (
// newExec wires up all of Hugo's CLI.
func newExec() (*simplecobra.Exec, error) {
rootCmd := &rootCommand{
buildFlags: &buildFlags{},
commands: []simplecobra.Commander{
newVersionCmd(),
newEnvCommand(),