Skip to content

Commit

Permalink
chore: improve cmd[new] tips (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
qloog authored Dec 26, 2024
1 parent ceb52f9 commit bf59b04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions cmd/eagle/internal/project/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/eagle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bf59b04

Please sign in to comment.