Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zendata
提交
9d955b95
Z
zendata
项目概览
易企天创
/
zendata
10 个月 前同步成功
通知
17
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
9d955b95
编写于
8月 10, 2020
作者:
Q
QingDao Nature Easy Soft Network Technology Co,LTD
提交者:
GitHub
8月 10, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* adjust format.
上级
d23fdce0
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
10 deletion
+10
-10
res/en/usage.txt
res/en/usage.txt
+10
-10
未找到文件。
res/en/usage.txt
浏览文件 @
9d955b95
...
...
@@ -37,7 +37,7 @@ Command Line Examples:
$>zd.exe -d demo/default.yaml # Generate 10 lines of data according to the config file specified by -d.
$>zd.exe -c demo/default.yaml # Generate 10 lines of data according to the config file specified by -c.
$>zd.exe -c demo/default.yaml -r # Generate 10 lines of data according to the config file specified by -c recursively.
$>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 # Using the parameter of -c and -d at the same time.
$>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100
# Using the parameter of -c and -d at the same time.
$>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 -o test.txt # Output data in original format.
$>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 -o test.json # Output data in JSON.
...
...
@@ -45,20 +45,20 @@ $>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 -o test.xml # Output da
$>zd.exe -d demo/default.yaml -n 100 -o test.sql -t user # Output the sql inserted into the table user.
$>zd.exe -d demo/default.yaml -o test.sql -t user -s mysql --trim # Remove the prefix and postfix of every field.
$>zd.exe -i d
b.sql -o db # Generate YAML files for each table by parsing db.sql and store them in the db directory
.
$>zd.exe -i d
emo/zentao.sql -o db # Generate YAML files for each table by parsing zentao.sql
.
$>zd.exe -c demo/default.yaml -i test.txt --decode # Parse the file specified by -i according to the config of -d.
$>zd.exe -l List all build-in data types.
$>zd.exe -v system.address.v1 View data types in build-in Excel file system/address/v1.xlsx.
$>zd.exe -v system.address.v1.china View data items in Excel sheet "china".
$>zd.exe -v system.ip.v1.yaml View data items in build-in instances。
$>zd.exe -l
#
List all build-in data types.
$>zd.exe -v system.address.v1
#
View data types in build-in Excel file system/address/v1.xlsx.
$>zd.exe -v system.address.v1.china
#
View data items in Excel sheet "china".
$>zd.exe -v system.ip.v1.yaml
#
View data items in build-in instances。
Service Example:
$zd.exe -p 80 -R d:\zd\config Listen port 80. Use d:\zd\config as the root.
$zd.exe -p 80 -R d:\zd\config
#
Listen port 80. Use d:\zd\config as the root.
Client Call:
$curl http://loclahost/?d=default.yaml&c=config.yaml&n=100&o=test.sql&t=user Specify the server config file via GET.
$curl http://loclahost/?default=default.yaml&output=test.sql&table=user Parameter names can be full.
$curl -d "default=...&config=...&lines=10" http://localhost/ The config can be uploaded via POST.
$curl http://loclahost/?d=default.yaml&c=config.yaml&n=100&o=test.sql&t=user
#
Specify the server config file via GET.
$curl http://loclahost/?default=default.yaml&output=test.sql&table=user
#
Parameter names can be full.
$curl -d "default=...&config=...&lines=10" http://localhost/
#
The config can be uploaded via POST.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录