init fixed
This commit is contained in:
parent
4d27fcde4c
commit
8bad0c3cad
|
@ -98,6 +98,7 @@ $ realize add
|
||||||
##### Init
|
##### Init
|
||||||
|
|
||||||
Like add, but with this command you can create a configuration step by step and customize each option.
|
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**
|
**Init is the only command that supports a complete customization of all the options supported**
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -396,7 +396,7 @@ func main() {
|
||||||
{
|
{
|
||||||
Quest: i.Quest{
|
Quest: i.Quest{
|
||||||
Options: r.Yellow.Regular("[y/n]"),
|
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",
|
Msg: "Enable go run",
|
||||||
},
|
},
|
||||||
Action: func(c i.Context) interface{} {
|
Action: func(c i.Context) interface{} {
|
||||||
|
|
Loading…
Reference in New Issue