Tips: please enter a project name you want to create

pull/338/head
zhifeng hu 5 years ago
parent 1a5b846cbc
commit e3932b63b5
  1. 2
      tool/kratos/new.go

@ -11,7 +11,7 @@ import (
func runNew(ctx *cli.Context) error { func runNew(ctx *cli.Context) error {
if len(ctx.Args()) == 0 { if len(ctx.Args()) == 0 {
return errors.New("required project name") return errors.New("project name required, please enter a project name you want to create")
} }
p.Name = ctx.Args()[0] p.Name = ctx.Args()[0]

Loading…
Cancel
Save