diff --git a/internal/pkg/create/create.go b/internal/pkg/create/create.go index 9be1ce94a..f00adf448 100644 --- a/internal/pkg/create/create.go +++ b/internal/pkg/create/create.go @@ -39,8 +39,9 @@ func create(params *param.Param) error { kubectl port-forward service/%s 8080:8080 -n default -Then you can visit this app by http://127.0.0.1:8080 in browser -Thanks for using DevStream! 😊 +Then you can visit this app by http://127.0.0.1:8080 in your browser. + +Happy Hacking! 😊 ` fmt.Printf(finalMessage, params.GitHubRepo) return nil diff --git a/internal/pkg/start/start.go b/internal/pkg/start/start.go index e5ebafdaa..08ad02a00 100644 --- a/internal/pkg/start/start.go +++ b/internal/pkg/start/start.go @@ -8,7 +8,9 @@ import ( ) func Start() error { - fmt.Println("I'll prepare some tools for you.") + fmt.Println("I'll give some tools for you.") + time.Sleep(time.Second) + fmt.Println("Are you ready?") time.Sleep(time.Second) fmt.Println("Let's get started.") fmt.Println() diff --git a/internal/pkg/start/tool/argocd.go b/internal/pkg/start/tool/argocd.go index cc3e2c041..90d047d2d 100644 --- a/internal/pkg/start/tool/argocd.go +++ b/internal/pkg/start/tool/argocd.go @@ -43,7 +43,7 @@ var toolArgocd = tool{ return err } - if err = execCommand([]string{"helm", "install", argocdChartReleaseName, argocdChartName, "-n", argocdNamespace}); err != nil { + if err = execCommand([]string{"helm", "install", argocdChartReleaseName, argocdChartName, "-n", argocdNamespace, "--wait", "--create-namespace"}); err != nil { return err } diff --git a/internal/pkg/start/tool/helper.go b/internal/pkg/start/tool/helper.go index f59320a5d..57f89c626 100644 --- a/internal/pkg/start/tool/helper.go +++ b/internal/pkg/start/tool/helper.go @@ -10,7 +10,7 @@ import ( func confirm(name string) bool { prompt := promptui.Prompt{ - Label: fmt.Sprintf("Install %s now.", name), + Label: fmt.Sprintf("Install %s now", name), IsConfirm: true, }