Skip to content

Commit

Permalink
fix(cli): update cli success create prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed May 1, 2024
1 parent be624d0 commit ca4e753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kratos/internal/project/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (p *Project) Add(ctx context.Context, dir string, layout string, branch str
fmt.Print("💻 Use the following command to add a project 👇:\n\n")

fmt.Println(color.WhiteString("$ cd %s", p.Name))
fmt.Println(color.WhiteString("$ go generate ./..."))
fmt.Println(color.WhiteString("$ make generate"))
fmt.Println(color.WhiteString("$ go build -o ./bin/ ./... "))
fmt.Println(color.WhiteString("$ ./bin/%s -conf ./configs\n", p.Name))
fmt.Println(" 🤝 Thanks for using Kratos")
Expand Down
2 changes: 1 addition & 1 deletion cmd/kratos/internal/project/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,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("$ go generate ./..."))
fmt.Println(color.WhiteString("$ make generate"))
fmt.Println(color.WhiteString("$ go build -o ./bin/ ./... "))
fmt.Println(color.WhiteString("$ ./bin/%s -conf ./configs\n", p.Name))
fmt.Println(" 🤝 Thanks for using Kratos")
Expand Down

0 comments on commit ca4e753

Please sign in to comment.