@@ -95,11 +95,16 @@ USAGE:
95
95
OPTIONS:
96
96
--dir value, -d value The directory to generate the project (default: current directory)
97
97
--name value The project name
98
+ --app-name value The application name (default: project name)
98
99
--desc value The project description
99
100
--version value The project version (default: 1.0.0)
100
101
--pkg value The project package name (default: project name)
101
102
--git-url value Use git repository to initialize the project (default: https://github.com/LyricTian/gin-admin.git)
102
- --git-branch value Use git branch to initialize the project (default: master)
103
+ --git-branch value Use git branch to initialize the project (default: main)
104
+ --fe-dir value The frontend directory to generate the project (if empty, the frontend project will not be generated)
105
+ --fe-name value The frontend project name (default: frontend)
106
+ --fe-git-url value Use git repository to initialize the frontend project (default: https://github.com/gin-admin/gin-admin-frontend.git)
107
+ --fe-git-branch value Use git branch to initialize the frontend project (default: main)
103
108
--help, -h show help
104
109
```
105
110
@@ -113,9 +118,8 @@ USAGE:
113
118
gin-admin-cli generate [command options] [arguments...]
114
119
115
120
OPTIONS:
116
- --dir value, -d value The directory to generate the struct from
117
- --module value, -m value The module to generate the struct from
118
- --tpl-type value The template type to generate the struct from (default: crud)
121
+ --dir value, -d value The project directory to generate the struct
122
+ --module value, -m value The module to generate the struct from (like: RBAC)
119
123
--module-path value The module path to generate the struct from (default: internal/mods)
120
124
--wire-path value The wire generate path to generate the struct from (default: internal/wirex)
121
125
--swag-path value The swagger generate path to generate the struct from (default: internal/swagger)
@@ -124,6 +128,9 @@ OPTIONS:
124
128
--structs-comment value Specify the struct comment
125
129
--structs-output value Specify the packages to generate the struct (default: schema,dal,biz,api)
126
130
--tpl-path value The template path to generate the struct from (default use tpls)
131
+ --tpl-type value The template type to generate the struct from (default: default)
132
+ --fe-dir value The frontend project directory to generate the UI
133
+ --fe-tpl-type value The template type to generate the frontend from (default: react)
127
134
--help, -h show help
128
135
```
129
136
0 commit comments