feature: 支持指定schemes参数

This commit is contained in:
waouooo
2023-11-19 12:39:59 +08:00
parent c76c668b5f
commit f5343a24b7
5 changed files with 25 additions and 6 deletions

View File

@ -19,5 +19,6 @@ func Generator(ctx *cli.Context) error {
}
basepath := ctx.String("basepath")
host := ctx.String("host")
return generate.Do(fileName, host, basepath, p)
schemes := ctx.String("schemes")
return generate.Do(fileName, host, basepath, schemes, p)
}