From ccbfe4ea62864aa4aa76720a279bff62230aeb05 Mon Sep 17 00:00:00 2001 From: alessio Date: Sun, 21 Aug 2016 17:16:47 +0200 Subject: [PATCH] fmt flag support --- realize/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/realize/config.go b/realize/config.go index d668181..69a85bd 100644 --- a/realize/config.go +++ b/realize/config.go @@ -47,6 +47,7 @@ func New(params *cli.Context) *Config { Build: params.Bool("build"), Bin: boolParam(params.Bool("bin")), Run: boolParam(params.Bool("run")), + Fmt: boolParam(params.Bool("fmt")), Watcher: Watcher{ Paths: watcherPaths, Ignore: watcherIgnores, @@ -117,6 +118,7 @@ func (h *Config) Add(params *cli.Context) error { Build: params.Bool("build"), Bin: boolParam(params.Bool("bin")), Run: boolParam(params.Bool("run")), + Fmt: boolParam(params.Bool("fmt")), Watcher: Watcher{ Paths: watcherPaths, Exts: watcherExts,