chore: improve cmd[new] tips (#168)

This commit is contained in:
Richard
2024-12-26 19:19:49 +08:00
committed by GitHub
parent ceb52f9a54
commit bf59b04406
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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