Skip to content

Commit

Permalink
Merge branch 'release/generate-code'
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuSugar committed Jul 27, 2021
2 parents bf77d2c + ce07cf4 commit 6ba12c3
Show file tree
Hide file tree
Showing 16 changed files with 592 additions and 292 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Randomly generated data tool
## 程序界面
### web界面
![主界面](https://cdn.jsdelivr.net/gh/mikusugar/PictureBed@master/uPic/2021/06/2W0rwN.png)
![主界面](docs/assets/web.png)
### CLI界面
![CLI](docs/assets/cli_new.gif)
## 程序文档
Expand Down
Binary file added docs/assets/cli_code.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/web_code.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions docs/usage_cli/generate_code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 生成代码

> 生成造数的Java Code,理论上其他JVM语言也可以用
⚠️目前依赖在GitHub package,并没有在中央仓库。[github 仓库使用参考](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry)

## 使用

执行`code`命令即可。


如下图
![](../assets/cli_code.gif)

## 注意事项

+ **请手动修改 依赖版本为你使用的版本**

+ **使用方式参考 生成代码的main方法**

19 changes: 19 additions & 0 deletions docs/usage_web/generate_code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 生成代码

> 生成造数的Java Code,理论上其他JVM语言也可以用
⚠️目前依赖在GitHub package,并没有在中央仓库。[github 仓库使用参考](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry)

## 使用
直接点击`生成Java代码`按钮即可。

如下图:

![](../assets/web_code.gif)

## 注意事项

+ **请手动修改 依赖版本为你使用的版本**

+ **使用方式参考 生成代码的main方法**

2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ nav:
- WEB使用:
- 快速使用: usage_web/index.md
- 配置: usage_web/config.md
- 生成代码: usage_web/generate_code.md
- CLI使用:
- 快速使用: usage_cli/quick_cli.md
- 新版命令: usage_cli/quick_cli_new.md
- 生成代码: usage_cli/generate_code.md
- 开发:
- 简介: develop/index.md
- 新的随机类型: develop/newtype.md
Loading

0 comments on commit 6ba12c3

Please sign in to comment.