default value for init commands

This commit is contained in:
asoseil 2017-10-16 15:22:10 +02:00
parent 21d4005b6b
commit bd678c9c42
1 changed files with 6 additions and 6 deletions

View File

@ -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{