questions fixed

This commit is contained in:
alessio 2017-04-01 19:10:45 +02:00
parent 52af74eceb
commit 3c5985245f
1 changed files with 3 additions and 4 deletions

View File

@ -263,7 +263,6 @@ func main() {
Msg: "Enable legacy watch by polling",
Resolve: func(d i.Context) bool {
val, _ := d.Ans().Bool()
fmt.Println(val)
return val
},
},
@ -274,7 +273,7 @@ func main() {
return nil
},
Quest: i.Quest{
Options: r.Yellow.Regular("[int]"),
Options: r.Yellow.Regular("[seconds]"),
Msg: "Set polling interval in seconds",
},
Action: func(d i.Context) interface{} {
@ -856,7 +855,7 @@ func main() {
},
})
handle(r.Record(r))
fmt.Println(r.Yellow.Bold("[")+"REALIZE"+r.Yellow.Bold("]"), r.Green.Bold("Your project was successfully added."))
fmt.Println(r.Yellow.Bold("[")+"REALIZE"+r.Yellow.Bold("]"), r.Green.Bold("Your configuration was successful."))
return nil
},
Before: func(c *cli.Context) error {