diff --git a/CHANGELOG.md b/CHANGELOG.md index 0db8c386d..ba7ee1996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - feat: add re-entry and automatic renewal for redis lock - feat: add gorm logger - chore: using gorm offical plguin for tracing and metrics +- chore: improve cmd[new] ## v1.9.0 diff --git a/cmd/eagle/internal/project/new.go b/cmd/eagle/internal/project/new.go index 04dcf340f..6841b4f3b 100644 --- a/cmd/eagle/internal/project/new.go +++ b/cmd/eagle/internal/project/new.go @@ -59,8 +59,7 @@ func (p *Project) New(ctx context.Context, dir string, layout string, branch str fmt.Print("💻 Use the following command to start the project 👇:\n\n") fmt.Println(color.WhiteString("$ cd %s", p.Name)) - fmt.Println(color.WhiteString("$ make build")) - fmt.Println(color.WhiteString("$ eagle run\n")) + fmt.Println(color.WhiteString("$ make run\n")) fmt.Println("🤝 Thanks for using Eagle") fmt.Println("📚 Tutorial: https://go-eagle.org/docs/getting-started/start") return nil diff --git a/cmd/eagle/main.go b/cmd/eagle/main.go index c6a5f2391..c97305a08 100644 --- a/cmd/eagle/main.go +++ b/cmd/eagle/main.go @@ -19,7 +19,7 @@ import ( var ( // Version is the version of the compiled software. - Version = "v1.0.2" + Version = "v1.0.3" rootCmd = &cobra.Command{ Use: "eagle",