Fix survey options.

This commit is contained in:
trading_peter 2024-09-03 14:39:41 +02:00
parent 93338b0712
commit 6b14faa5b1
2 changed files with 2 additions and 2 deletions

View File

@ -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)",
}}, }},

View File

@ -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",
}, },
}, },