Skip to content

Commit 4c1c491

Browse files
author
杨利兵
committed
更新说明
1 parent bf931fd commit 4c1c491

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
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
## 升级说明
6566
4.x版本不兼容老版本的命令行参数,但Excel模板在所有版本下均可正常使用。

0 commit comments

Comments
 (0)