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

@@ -96,6 +96,10 @@ var (
Name: "api",
Usage: "the api file",
},
cli.BoolFlag{
Name: "force",
Usage: "force override the exist files",
},
},
Action: gogen.GoCommand,
},