diff --git a/cmd/kratos/internal/run/run.go b/cmd/kratos/internal/run/run.go index 37bcbd5f8..88c1f5751 100644 --- a/cmd/kratos/internal/run/run.go +++ b/cmd/kratos/internal/run/run.go @@ -16,8 +16,8 @@ import ( // CmdRun run project command. var CmdRun = &cobra.Command{ Use: "run", - Short: "run project", - Long: "run project. Example: kratos run", + Short: "Run project", + Long: "Run project. Example: kratos run", Run: Run, } diff --git a/cmd/kratos/main.go b/cmd/kratos/main.go index 36eb7771b..22ddde735 100644 --- a/cmd/kratos/main.go +++ b/cmd/kratos/main.go @@ -8,6 +8,7 @@ import ( "github.com/go-kratos/kratos/cmd/kratos/v2/internal/proto" "github.com/go-kratos/kratos/cmd/kratos/v2/internal/run" "github.com/go-kratos/kratos/cmd/kratos/v2/internal/upgrade" + "github.com/spf13/cobra" )