init fixed

This commit is contained in:
alessio 2017-03-13 01:14:42 +01:00
parent 4d27fcde4c
commit 8bad0c3cad
2 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ $ realize add
##### Init
Like add, but with this command you can create a configuration step by step and customize each option.
**Init is the only command that supports a complete customization of all the options supported**
```

View File

@ -396,7 +396,7 @@ func main() {
{
Quest: i.Quest{
Options: r.Yellow.Regular("[y/n]"),
Default: i.Default{Value: false, Preview: true, Text: r.Green.Regular("(n)")},
Default: i.Default{Value: true, Preview: true, Text: r.Green.Regular("(y)")},
Msg: "Enable go run",
},
Action: func(c i.Context) interface{} {