default value for init commands
This commit is contained in:
parent
21d4005b6b
commit
bd678c9c42
12
realize.go
12
realize.go
|
@ -24,9 +24,9 @@ type logWriter struct{}
|
||||||
|
|
||||||
// Realize struct contains the general app informations
|
// Realize struct contains the general app informations
|
||||||
type realize struct {
|
type realize struct {
|
||||||
Settings Settings `yaml:"settings"`
|
Settings Settings `yaml:"settings" json:"settings"`
|
||||||
Server Server `yaml:"server"`
|
Server Server `yaml:"server" json:"server"`
|
||||||
Schema []Project `yaml:"schema"`
|
Schema []Project `yaml:"schema" json:"schema"`
|
||||||
sync chan string
|
sync chan string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -384,7 +384,7 @@ func main() {
|
||||||
|
|
||||||
{
|
{
|
||||||
Before: func(d interact.Context) error {
|
Before: func(d interact.Context) error {
|
||||||
d.SetDef(true, green.regular("(y)"))
|
d.SetDef(false, green.regular("(n)"))
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
Quest: interact.Quest{
|
Quest: interact.Quest{
|
||||||
|
@ -424,7 +424,7 @@ func main() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Before: func(d interact.Context) error {
|
Before: func(d interact.Context) error {
|
||||||
d.SetDef(true, green.regular("(y)"))
|
d.SetDef(false, green.regular("(n)"))
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
Quest: interact.Quest{
|
Quest: interact.Quest{
|
||||||
|
@ -468,7 +468,7 @@ func main() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Before: func(d interact.Context) error {
|
Before: func(d interact.Context) error {
|
||||||
d.SetDef(true, green.regular("(y)"))
|
d.SetDef(false, green.regular("(n)"))
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
Quest: interact.Quest{
|
Quest: interact.Quest{
|
||||||
|
|
Loading…
Reference in New Issue