File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 66* DML - 生成初始数据的sql代码
77* MSG - 生成多语言资源代码,支持 Android/IOS/JSON/Java/.NET
88
9- ## 安装及使用
9+ ## 安装
1010``` sh
1111/bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/excel-code-generator/code-generator/master/install.sh) "
1212```
1313将以上命令粘贴至终端。
1414
15- > Excel模板请参考 [ template ] ( template )
15+ > Windows 用户请先安装 [ Bash Shell ] ( https://git-scm.com/download/win )
1616
1717## 参数说明
1818```
@@ -55,11 +55,12 @@ By https://yanglb.com
5555## 用法示例
5656``` sh
5757# 生成 MySql 数据库结构脚本
58- java -jar cg.jar ddl.mysql database.xlsx --engine myisam
58+ cg ddl.mysql database.xlsx --engine myisam
5959
6060# 生成 JSON 多语言资源
61- java -jar cg.jar msg.json msg.xlsx
61+ cg msg.json msg.xlsx
6262```
63+ > Excel模板请参考 [ template] ( template )
6364
6465## 升级说明
65664.x版本不兼容老版本的命令行参数,但Excel模板在所有版本下均可正常使用。
You can’t perform that action at this time.
0 commit comments