mirror of
https://github.com/go-eagle/eagle.git
synced 2025-09-26 20:41:26 +08:00
chore: improve cmd[new] tips (#168)
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user