optimize: api generating for idea plugin (#68)

* add flag: force to generate api

* add flag: force to generate api

* format api template

* Revert "format api template"
This commit is contained in:
Keson
2020-09-14 17:12:31 +08:00
committed by GitHub
parent 598ff6d0fc
commit e6f8e0e8c3
5 changed files with 22 additions and 12 deletions

View File

@@ -60,6 +60,6 @@ func NewService(c *cli.Context) error {
return err
}
err = gogen.DoGenProject(apiFilePath, abs)
err = gogen.DoGenProject(apiFilePath, abs, true)
return err
}