improve goctl rpc new (#1687)

This commit is contained in:
fang duan
2022-04-17 20:56:56 +08:00
committed by GitHub
parent 5d4e7c84ee
commit ff6c6558dd
2 changed files with 7 additions and 2 deletions

View File

@@ -511,8 +511,9 @@ var commands = []cli.Command{
Usage: "generate rpc code",
Subcommands: []cli.Command{
{
Name: "new",
Usage: `generate rpc demo service`,
Name: "new",
Usage: `generate rpc demo service`,
UsageText: "example: goctl rpc new [options] service_name",
Flags: []cli.Flag{
cli.StringFlag{
Name: "style",