add api template file (#1003)

This commit is contained in:
neosu
2021-09-07 10:16:10 +08:00
committed by GitHub
parent dec6309c55
commit d8905b9e9e
4 changed files with 78 additions and 1 deletions

View File

@@ -48,6 +48,10 @@ var commands = []cli.Command{
Name: "o",
Usage: "the output api file",
},
cli.StringFlag{
Name: "home",
Usage: "the goctl home path of the template",
},
},
Action: apigen.ApiCommand,
Subcommands: []cli.Command{