From e02a3068a18a04c0b27c124a11933d26bce8255c Mon Sep 17 00:00:00 2001 From: alessio Date: Mon, 20 Mar 2017 01:39:25 +0100 Subject: [PATCH] init cmd fixed --- realize.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/realize.go b/realize.go index ef7c590..be204eb 100644 --- a/realize.go +++ b/realize.go @@ -221,7 +221,7 @@ func main() { }, { Before: func(d i.Context) error { - d.SetDef(true, r.Green.Regular("(y)")) + d.SetDef(false, r.Green.Regular("(n)")) return nil }, Quest: i.Quest{ @@ -540,7 +540,7 @@ func main() { if err != nil { return d.Err() } - r.Blueprint.Projects[len(r.Blueprint.Projects)-1].Bin = val + r.Blueprint.Projects[len(r.Blueprint.Projects)-1].Run = val return nil }, }, @@ -774,7 +774,7 @@ func main() { if err != nil { return d.Err() } - r.Blueprint.Projects[len(r.Blueprint.Projects)-1].Run = val + r.Blueprint.Projects[len(r.Blueprint.Projects)-1].Watcher.Preview = val return nil }, }, @@ -829,6 +829,7 @@ func main() { return d.Err() } r.Blueprint.Projects[len(r.Blueprint.Projects)-1].Streams.FileErr = val + fmt.Println(r.Blueprint.Projects[0]) return nil }, },