aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/commandeer.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r--commands/commandeer.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go
index c2b26b5ec..26bd25c01 100644
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -136,6 +136,10 @@ type rootCommand struct {
cfgDir string
}
+func (r *rootCommand) isVerbose() bool {
+ return r.logger.Level() <= logg.LevelInfo
+}
+
func (r *rootCommand) Build(cd *simplecobra.Commandeer, bcfg hugolib.BuildCfg, cfg config.Provider) (*hugolib.HugoSites, error) {
h, err := r.Hugo(cfg)
if err != nil {