mirror of
https://github.com/casbin/bee.git
synced 2025-07-17 14:44:20 +08:00
adding source code
This commit is contained in:
6
g.go
6
g.go
@ -52,6 +52,12 @@ func generateCode(cmd *Command, args []string) {
|
||||
switch gcmd {
|
||||
case "docs":
|
||||
generateDocs(curpath)
|
||||
case "model":
|
||||
generateModel(curpath)
|
||||
case "controller":
|
||||
generateController(curpath)
|
||||
case "router":
|
||||
generateRouter(curpath)
|
||||
default:
|
||||
ColorLog("[ERRO] command is missing\n")
|
||||
}
|
||||
|
Reference in New Issue
Block a user