Fix survey options.
This commit is contained in:
parent
93338b0712
commit
6b14faa5b1
2
main.go
2
main.go
@ -23,7 +23,7 @@ func main() {
|
|||||||
app := &cli.App{
|
app := &cli.App{
|
||||||
Name: "gowebbuild",
|
Name: "gowebbuild",
|
||||||
Usage: "All in one tool to build web frontend projects.",
|
Usage: "All in one tool to build web frontend projects.",
|
||||||
Version: "6.1.0",
|
Version: "6.1.1",
|
||||||
Authors: []*cli.Author{{
|
Authors: []*cli.Author{{
|
||||||
Name: "trading-peter (https://github.com/trading-peter)",
|
Name: "trading-peter (https://github.com/trading-peter)",
|
||||||
}},
|
}},
|
||||||
|
@ -33,7 +33,7 @@ var qs = []*survey.Question{
|
|||||||
Name: "tpl",
|
Name: "tpl",
|
||||||
Prompt: &survey.Select{
|
Prompt: &survey.Select{
|
||||||
Message: "Choose a template:",
|
Message: "Choose a template:",
|
||||||
Options: []string{".gowebbuild.yaml", "docker_image.sh", "Dockerfile"},
|
Options: []string{".air.toml", ".gowebbuild.yaml", "docker_image.sh", "Dockerfile"},
|
||||||
Default: "docker_image.sh",
|
Default: "docker_image.sh",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user