zero-ai 0.3.26 → 0.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +26 -25
  2. package/document/doc-web/E.html +2 -5
  3. package/document/doc-web/index.html +131 -32
  4. package/document/doc-web/module-__epic.html +156 -0
  5. package/document/doc-web/module-ai.html +373 -194
  6. package/document/doc-web/module-aj.html +253 -436
  7. package/document/doc-web/module-art.html +621 -0
  8. package/{run-doc.sh → k-doc.sh} +4 -3
  9. package/package.json +1 -1
  10. package/src/cab/resource/resource.xlsx +0 -0
  11. package/src/commander/ai.zero +1 -1
  12. package/src/commander-ai/fn.csv.js +13 -13
  13. package/src/commander-ai/fn.data.js +14 -14
  14. package/src/commander-ai/fn.init.js +15 -13
  15. package/src/commander-ai/fn.key.js +12 -12
  16. package/src/commander-ai/fn.md5.js +11 -11
  17. package/src/commander-ai/fn.random.js +12 -12
  18. package/src/commander-ai/fn.sync.js +120 -13
  19. package/src/commander-ai/fn.uk.js +12 -12
  20. package/src/commander-ai/fn.uuid.js +11 -11
  21. package/src/commander-ai/index.js +64 -1
  22. package/src/commander-aj/fn.i.mod.js +42 -1
  23. package/src/commander-aj/fn.i.resource.js +69 -1
  24. package/src/commander-aj/fn.j.bundle.js +11 -15
  25. package/src/commander-aj/fn.j.init.js +12 -12
  26. package/src/commander-aj/fn.j.permission.js +12 -16
  27. package/src/commander-aj/fn.j.plugin.js +13 -17
  28. package/src/commander-aj/index.js +26 -2
  29. package/src/commander-ar/fn.i.complex.js +16 -20
  30. package/src/commander-ar/fn.i.form.js +17 -28
  31. package/src/commander-ar/index.js +77 -1
  32. package/src/epic/ai.economy.impl.fn.excel.js +21 -1
  33. package/src/epic/ai.unified.fn.fn.error.code.js +0 -6
  34. package/src/epic/index.js +52 -159
  35. package/document/doc-web/module-_debug.html +0 -1104
  36. package/document/doc-web/module-_epic.html +0 -1631
  37. package/src/commander-aj/fn.j.row.js +0 -5
package/README.md CHANGED
@@ -1,25 +1,28 @@
1
1
  # Zero工具箱
2
2
 
3
- Zero工具箱为一个工具类型的项目,主要为后端项目和前端项目打造的辅助开发人员进行快速开发的命令行工具,该框架的前端项目和后端项目的地址如下:
3
+ Zero工具箱为一个工具类型的项目,主要为后端项目和前端项目打造的辅助开发人员进行快速开发的命令行工具,该工具可以帮助开发人员执行`Zero/Zero Ui`
4
+ 的智能化开发,版本会持续发布到npm社区。
4
5
 
5
- * 前端:[http://www.vertxui.cn](http://www.vertxui.cn)
6
- * 后端:[http://www.vertxup.cn](http://www.vertxup.cn)
7
- * 详细文档:[Zero Ai文档](http://www.vertxai.cn/document/doc-web/index.html)
6
+ * 详细文档:[Zero Ai命令](http://www.vertxai.cn/document/doc-web/index.html)
8
7
 
9
- 该工具可以帮助开发人员执行`Zero/Zero Ui`的智能化开发,工具最新版本为`0.3.2`,目前已发布到npm社区。
8
+ ## 0. 引导
9
+
10
+ - (后端)Zero Ecotope:<https://www.zerows.io>
11
+ - (前端)Zero UI:<https://www.vertxui.cn>
12
+ - (工具)Zero AI:<https://www.vertxai.cn>
13
+ - (标准)Zero Schema:<https://www.vertx-cloud.cn>
10
14
 
11
15
  ## 1. 安装流程
12
16
 
17
+ > Windows必须启用 WSL 才可用
18
+
13
19
  使用以下命令安装该工具
14
20
 
15
21
  ```
16
- # 旧版
17
- npm install -g vertx-ai
18
- # 新版(从 0.3.25)
19
22
  npm install -g zero-ai
20
23
  ```
21
24
 
22
- 等你看到下边的输出信息后,证明安装过程已完成,目前最新版本:**0.3.0**。
25
+ 等你看到下边的输出信息后,证明安装过程已完成:
23
26
 
24
27
  ```
25
28
  /usr/local/bin/ai -> /usr/local/lib/node_modules/vertx-ai/src/ai.js
@@ -29,27 +32,25 @@ npm install -g zero-ai
29
32
  added 77 packages from 119 contributors in 8.417s
30
33
  ```
31
34
 
32
- ## 2. 基本说明
35
+ ## 2. 常用命令说明
33
36
 
34
- > 下边是工具列表,主要分为两种:独立工具/Zero专用工具
37
+ ### 2.1. 三大命令
35
38
 
36
- * 基础自动化工具:可直接调用`ai xxx`方式执行的工具。
37
- * 后端工具:调用`aj xxx`,部分命令需要设置对应环境变量。
38
- * 前端工具:调用`art xxx`。
39
+ - ai:标准命令
40
+ - aj:后端专用命令(For Java)
41
+ - art:前端开发命令(For React)
39
42
 
40
- ### 2.1. 环境变量表
43
+ ### 2.2. 工程初始化
41
44
 
42
- | 环境变量名 | 例子 | 含义 |
43
- |-------|:----------------------------------|:--------------------------------------|
44
- | ZT | `export ZT=generated/tool` | 「前端」接下来的所有ZT命令都是在generated/tool模块中执行。 |
45
- | ZF | `export ZF=ox-engine/ox-business` | 「后端」接下来所有的ZF命令都在对应目录中执行。 |
45
+ ```shell
46
+ # 前端工程初始化
47
+ ai init -name <name>
48
+ # 前端工程更新
49
+ ai sync
46
50
 
47
- ### 2.2. 注意点
48
-
49
- * ZT环境变量设置后,必须存在目录`src/xxx`,如`ZT=generated/tool`,那么必须存在`src/generate/tool`目录,基础信息对应到
50
- * `src/components/generated/tool` - Zero中的组件开发目录
51
- * `src/cab/cn/components/generated/tool` - Zero中的资源文件目录
52
- * ZF环境变量设置后,设置目录下必须包含`pom.xml`文件(后端项目基础结构,Maven检测)
51
+ # 后端工程初始化
52
+ aj init
53
+ ```
53
54
 
54
55
 
55
56
 
@@ -36,7 +36,7 @@
36
36
 
37
37
  <input type="text" id="nav-search" placeholder="Search" />
38
38
 
39
- <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-_debug.html">_debug</a><ul class='methods'><li data-type='method'><a href="module-_debug.html#.error">error</a></li><li data-type='method'><a href="module-_debug.html#.fxContinue">fxContinue</a></li><li data-type='method'><a href="module-_debug.html#.fxError">fxError</a></li><li data-type='method'><a href="module-_debug.html#.fxSorter">fxSorter</a></li><li data-type='method'><a href="module-_debug.html#.info">info</a></li><li data-type='method'><a href="module-_debug.html#.warn">warn</a></li></ul></li><li><a href="module-_epic.html">_epic</a><ul class='methods'><li data-type='method'><a href="module-_epic.html#.elementUnique">elementUnique</a></li><li data-type='method'><a href="module-_epic.html#.elementZip">elementZip</a></li><li data-type='method'><a href="module-_epic.html#.executeBody">executeBody</a></li><li data-type='method'><a href="module-_epic.html#.executeHeader">executeHeader</a></li><li data-type='method'><a href="module-_epic.html#.executeInput">executeInput</a></li><li data-type='method'><a href="module-_epic.html#.itArray">itArray</a></li><li data-type='method'><a href="module-_epic.html#.parseArgs">parseArgs</a></li><li data-type='method'><a href="module-_epic.html#.parseZero">parseZero</a></li></ul></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.icomplex">icomplex</a></li><li data-type='method'><a href="module-aj.html#.iform">iform</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li></ul></li></ul>
39
+ <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-__epic.html">__epic</a></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.sync">sync</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.mod">mod</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li><li data-type='method'><a href="module-aj.html#.rs">rs</a></li></ul></li><li><a href="module-art.html">art</a><ul class='methods'><li data-type='method'><a href="module-art.html#.complex">complex</a></li><li data-type='method'><a href="module-art.html#.form">form</a></li></ul></li></ul>
40
40
  </nav>
41
41
 
42
42
  <div id="main">
@@ -311,9 +311,6 @@ Ec.fxError(fnChecked, 10001, arg1, arg2);
311
311
  </tr>
312
312
  </tbody>
313
313
  </table>
314
- <h3>3. 规范</h3>
315
- <h4>3.1. Zero规范</h4>
316
- <h4>3.2. Ox规范</h4>
317
314
  </div>
318
315
 
319
316
 
@@ -380,7 +377,7 @@ Ec.fxError(fnChecked, 10001, arg1, arg2);
380
377
  <br class="clear">
381
378
 
382
379
  <footer>
383
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Jun 16 2023 17:06:34 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
380
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Jul 23 2023 12:25:27 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
384
381
  </footer>
385
382
 
386
383
  <script>prettyPrint();</script>
@@ -36,7 +36,7 @@
36
36
 
37
37
  <input type="text" id="nav-search" placeholder="Search" />
38
38
 
39
- <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-_debug.html">_debug</a><ul class='methods'><li data-type='method'><a href="module-_debug.html#.error">error</a></li><li data-type='method'><a href="module-_debug.html#.fxContinue">fxContinue</a></li><li data-type='method'><a href="module-_debug.html#.fxError">fxError</a></li><li data-type='method'><a href="module-_debug.html#.fxSorter">fxSorter</a></li><li data-type='method'><a href="module-_debug.html#.info">info</a></li><li data-type='method'><a href="module-_debug.html#.warn">warn</a></li></ul></li><li><a href="module-_epic.html">_epic</a><ul class='methods'><li data-type='method'><a href="module-_epic.html#.elementUnique">elementUnique</a></li><li data-type='method'><a href="module-_epic.html#.elementZip">elementZip</a></li><li data-type='method'><a href="module-_epic.html#.executeBody">executeBody</a></li><li data-type='method'><a href="module-_epic.html#.executeHeader">executeHeader</a></li><li data-type='method'><a href="module-_epic.html#.executeInput">executeInput</a></li><li data-type='method'><a href="module-_epic.html#.itArray">itArray</a></li><li data-type='method'><a href="module-_epic.html#.parseArgs">parseArgs</a></li><li data-type='method'><a href="module-_epic.html#.parseZero">parseZero</a></li></ul></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.icomplex">icomplex</a></li><li data-type='method'><a href="module-aj.html#.iform">iform</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li></ul></li></ul>
39
+ <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-__epic.html">__epic</a></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.sync">sync</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.mod">mod</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li><li data-type='method'><a href="module-aj.html#.rs">rs</a></li></ul></li><li><a href="module-art.html">art</a><ul class='methods'><li data-type='method'><a href="module-art.html#.complex">complex</a></li><li data-type='method'><a href="module-art.html#.form">form</a></li></ul></li></ul>
40
40
  </nav>
41
41
 
42
42
  <div id="main">
@@ -130,80 +130,179 @@
130
130
 
131
131
 
132
132
  <div class="description usertext"><h1>Zero Ai研发文档</h1>
133
- <p>该文档提供给研发人员直接研发下列工具专用,最新版本<code>0.3.2</code>。</p>
133
+ <p>该文档提供给研发人员直接研发下列工具专用,最新版本<code>0.3.30</code>。</p>
134
134
  <h2>1. 命令清单</h2>
135
135
  <ul>
136
- <li><code>ai xxx</code>:基础命令工具。</li>
137
- <li><code>aj xxx</code>:界面工具集。</li>
136
+ <li><code>ai xxx</code>:通用自动化工具集。</li>
137
+ <li><code>aj xxx</code>:后端自动化工具集(ai for java)。</li>
138
+ <li><code>art xxx</code>:前端自动化工具集(ai for react)。</li>
138
139
  </ul>
139
140
  <h2>2. Epic使用方法</h2>
141
+ <blockquote>
142
+ <p>Epic是内部研发专用工具,位于API文档中有相关说明,记录了当前环境下用于内部研发的所有工具集,命令教程中的顺序按开发配置中的顺序进行,开发配置目录位于:<code>src/commander</code> 中。</p>
143
+ </blockquote>
140
144
  <pre class="prettyprint source lang-js"><code>const Ec = require('./epic');
141
145
  // Ec.xxx 调用全程Api
142
146
  </code></pre>
143
- <h2>3. 命令表</h2>
144
- <h3>3.1. 标准命令</h3>
147
+ <h2>3. 文档结构</h2>
148
+ <ol>
149
+ <li>所有API文档结构分为四个部分:
150
+ <ul>
151
+ <li><code>__epic</code>:研发专用工具集,属于内部工具集(改造命令时专用)</li>
152
+ <li><code>ai</code>:通用工具命令</li>
153
+ <li><code>aj</code>:后端自动化工具集</li>
154
+ <li><code>art</code>:前端自动化工具集</li>
155
+ </ul>
156
+ </li>
157
+ <li>和执行命令相关的错误信息全部位类 <code>E</code> 中有所定义。</li>
158
+ </ol>
159
+ <h2>4. 工具研发</h2>
160
+ <h3>4.1. 源码</h3>
161
+ <p>工具研发源代码位于 <code>src</code> 目录中,子目录详细信息如下:</p>
145
162
  <table>
146
163
  <thead>
147
164
  <tr>
148
- <th>命令执行</th>
165
+ <th>目录</th>
149
166
  <th style="text-align:left">含义</th>
150
167
  </tr>
151
168
  </thead>
152
169
  <tbody>
153
170
  <tr>
154
- <td>ai csv</td>
155
- <td style="text-align:left">读取数据文件中的Array数组数据转换成csv的文件格式并输出。</td>
171
+ <td><code>cab</code></td>
172
+ <td style="text-align:left">代码模板、文档模板、资源文件模板。</td>
156
173
  </tr>
157
174
  <tr>
158
- <td>ai data</td>
159
- <td style="text-align:left">专用数据生成器,可生成<code>Object/Array</code>两种数据格式。</td>
175
+ <td><code>commander</code></td>
176
+ <td style="text-align:left">命令定义文件,包括<code>ai/aj/art</code>三个命令的定义。</td>
160
177
  </tr>
161
178
  <tr>
162
- <td>ai key</td>
163
- <td style="text-align:left">为输入数据中的Array或Object追加<code>UUID</code>格式的字段,字段可配置,默认为<code>field = key</code>属性。</td>
179
+ <td><code>commander-ai</code></td>
180
+ <td style="text-align:left">开发 <code>ai xxx</code> 命令专用目录。</td>
164
181
  </tr>
165
182
  <tr>
166
- <td>ai uk</td>
167
- <td style="text-align:left">检查输入数据中是否包含了<code>field1,field2,field3</code>属性中的重复数据,直接输出结果。</td>
183
+ <td><code>commander-aj</code></td>
184
+ <td style="text-align:left">开发 <code>aj xxx</code> 命令专用目录。</td>
168
185
  </tr>
169
186
  <tr>
170
- <td>ai uuid</td>
171
- <td style="text-align:left">随机生成一定数量的UUID字符串,并且拷贝到剪切板中(MacOs)。</td>
187
+ <td><code>commander-ar</code></td>
188
+ <td style="text-align:left">开发 <code>art xxx</code> 命令专用目录。</td>
172
189
  </tr>
173
190
  <tr>
174
- <td>ai init</td>
175
- <td style="text-align:left">「前端」生成项目的初始化代码骨架。</td>
191
+ <td><code>epic</code></td>
192
+ <td style="text-align:left">内部研发专用工具集。</td>
176
193
  </tr>
177
194
  </tbody>
178
195
  </table>
179
- <h3>3.2. Zero命令</h3>
196
+ <h3>4.2. 参数表</h3>
197
+ <p>参数表定义位于 <code>src/commander/option.zero</code> 文件中,只有此文件中的参数是可用参数,形成统一的 <strong>参数规范</strong>。命令执行时并非支持所有命令,参数表中会有命令中所使用的参数列表,只是所有命令中这些参数的 <strong>缩写和全称</strong> 维持一致,在不同命令中表示相同或相近的含义。</p>
180
198
  <table>
181
199
  <thead>
182
200
  <tr>
183
- <th>命令执行</th>
201
+ <th style="text-align:left">简写</th>
202
+ <th style="text-align:left">全称</th>
184
203
  <th style="text-align:left">含义</th>
185
204
  </tr>
186
205
  </thead>
187
206
  <tbody>
188
207
  <tr>
189
- <td>aj icomplex</td>
190
- <td style="text-align:left">「模块」生成<code>ExListComplex</code>专用模块。</td>
208
+ <td style="text-align:left"><code>-f</code></td>
209
+ <td style="text-align:left"><code>--field</code></td>
210
+ <td style="text-align:left">一般表示字段名称,用于描述模型字段、文件列等各种字段信息。</td>
211
+ </tr>
212
+ <tr>
213
+ <td style="text-align:left"><code>-d</code></td>
214
+ <td style="text-align:left"><code>--data</code></td>
215
+ <td style="text-align:left">用于表示数据文件位置,或数据内容指向。</td>
216
+ </tr>
217
+ <tr>
218
+ <td style="text-align:left"><code>-p</code></td>
219
+ <td style="text-align:left"><code>--path</code></td>
220
+ <td style="text-align:left">指定文件路径专用参数,用来描述输入文件路径。</td>
221
+ </tr>
222
+ <tr>
223
+ <td style="text-align:left"><code>-c</code></td>
224
+ <td style="text-align:left"><code>--config</code></td>
225
+ <td style="text-align:left">用于表示配置文件位置,或配置内容指向。</td>
226
+ </tr>
227
+ <tr>
228
+ <td style="text-align:left"><code>-j</code></td>
229
+ <td style="text-align:left"><code>--json</code></td>
230
+ <td style="text-align:left">用于表示JSON的格式或基于 Json Schema 的数据格式描述。</td>
231
+ </tr>
232
+ <tr>
233
+ <td style="text-align:left"><code>-n</code></td>
234
+ <td style="text-align:left"><code>--number</code></td>
235
+ <td style="text-align:left">用于指定数量信息,通常在生成数据时表示生成数据条数。</td>
236
+ </tr>
237
+ <tr>
238
+ <td style="text-align:left"><code>-o</code></td>
239
+ <td style="text-align:left"><code>--out</code></td>
240
+ <td style="text-align:left">用于指定输出文件位置,通常是生成代码输出目录、输出文件描述。</td>
241
+ </tr>
242
+ <tr>
243
+ <td style="text-align:left"><code>-k</code></td>
244
+ <td style="text-align:left"><code>--key</code></td>
245
+ <td style="text-align:left">表示键名,用于描述模型键、文件列唯一键、数据表主键等信息。</td>
246
+ </tr>
247
+ <tr>
248
+ <td style="text-align:left"><code>-u</code></td>
249
+ <td style="text-align:left"><code>--ui</code></td>
250
+ <td style="text-align:left">前端界面专用生成参数,可以是目录也可以是内容等各种用来描述前端配置路径的专用参数。</td>
251
+ </tr>
252
+ <tr>
253
+ <td style="text-align:left"><code>-t</code></td>
254
+ <td style="text-align:left"><code>--target</code></td>
255
+ <td style="text-align:left">用于描述目标对象,此参数不局限于输出模式,通常可以表示目标信息描述。</td>
256
+ </tr>
257
+ <tr>
258
+ <td style="text-align:left"><code>-s</code></td>
259
+ <td style="text-align:left"><code>--separator</code></td>
260
+ <td style="text-align:left">用于表示分隔符信息,如果是处理文件,此属性默认会提取操作系统分隔符。</td>
261
+ </tr>
262
+ <tr>
263
+ <td style="text-align:left"><code>-m</code></td>
264
+ <td style="text-align:left"><code>--module</code></td>
265
+ <td style="text-align:left">用于描述模块,通常表示模块名称、模块元数据定义。</td>
266
+ </tr>
267
+ <tr>
268
+ <td style="text-align:left"><code>-a</code></td>
269
+ <td style="text-align:left"><code>--all</code></td>
270
+ <td style="text-align:left">开启全格式、全逻辑、全流程的专用选项。</td>
271
+ </tr>
272
+ <tr>
273
+ <td style="text-align:left"><code>-y</code></td>
274
+ <td style="text-align:left"><code>--yes</code></td>
275
+ <td style="text-align:left">确认选项专用参数,通常用于指定布尔开关时会使用此参数。</td>
276
+ </tr>
277
+ <tr>
278
+ <td style="text-align:left"><code>-v</code></td>
279
+ <td style="text-align:left"><code>--value</code></td>
280
+ <td style="text-align:left">用于描述值相关信息,如字符串值、数值、布尔值等相关值信息,某些场合用来描述值字段。</td>
281
+ </tr>
282
+ <tr>
283
+ <td style="text-align:left"><code>-r</code></td>
284
+ <td style="text-align:left"><code>--role</code></td>
285
+ <td style="text-align:left">在权限管理模型中,用于描述角色信息,通常在权限执行时专用。</td>
191
286
  </tr>
192
287
  <tr>
193
- <td>aj iform</td>
194
- <td style="text-align:left">「组件」生成<code>ExForm</code>专用组件。</td>
288
+ <td style="text-align:left"><code>-i</code></td>
289
+ <td style="text-align:left"><code>--input</code></td>
290
+ <td style="text-align:left">用于指定输入文件位置,或输入目录、输入内容描述。</td>
195
291
  </tr>
196
292
  <tr>
197
- <td>aj jperm</td>
198
- <td style="text-align:left">「后端」生成权限专用的Excel数据文件。</td>
293
+ <td style="text-align:left"><code>-l</code></td>
294
+ <td style="text-align:left"><code>--length</code></td>
295
+ <td style="text-align:left">用于指定长度信息,通常在密码处理时用于描述生成字符串的长度。</td>
199
296
  </tr>
200
297
  <tr>
201
- <td>aj jplugin</td>
202
- <td style="text-align:left">「后端」针对新建的Maven项目执行Ox中集成项目的初始化代码骨架。</td>
298
+ <td style="text-align:left"><code>-e</code></td>
299
+ <td style="text-align:left"><code>--extension</code></td>
300
+ <td style="text-align:left">用于指定扩展名、扩展等相关信息。</td>
203
301
  </tr>
204
302
  <tr>
205
- <td>aj jinit</td>
206
- <td style="text-align:left">「后端」生成项目的初始化代码骨架。</td>
303
+ <td style="text-align:left"><code>-w</code></td>
304
+ <td style="text-align:left"><code>--write</code></td>
305
+ <td style="text-align:left">用于写入操作的专用描述,通常生成文件时会使用此参数。</td>
207
306
  </tr>
208
307
  </tbody>
209
308
  </table></div>
@@ -247,7 +346,7 @@
247
346
  <br class="clear">
248
347
 
249
348
  <footer>
250
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Jun 16 2023 17:06:34 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
349
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Jul 23 2023 12:25:27 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
251
350
  </footer>
252
351
 
253
352
  <script>prettyPrint();</script>
@@ -0,0 +1,156 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>__epic - Zero UI框架专用前端文档</title>
7
+
8
+ <meta name="description" content="前端开发框架,官方地址:http://www.vertx-ui.cn" />
9
+
10
+ <meta name="keywords" content="zero,zero-ui,vert.x" />
11
+ <meta name="keyword" content="zero,zero-ui,vert.x" />
12
+
13
+
14
+
15
+ <script src="scripts/prettify/prettify.js"></script>
16
+ <script src="scripts/prettify/lang-css.js"></script>
17
+ <!--[if lt IE 9]>
18
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
19
+ <![endif]-->
20
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
21
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
22
+ <link type="text/css" rel="stylesheet" href="styles/zero.css">
23
+ <script src="scripts/nav.js" defer></script>
24
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
25
+ </head>
26
+ <body>
27
+
28
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
29
+ <label for="nav-trigger" class="navicon-button x">
30
+ <div class="navicon"></div>
31
+ </label>
32
+
33
+ <label for="nav-trigger" class="overlay"></label>
34
+
35
+ <nav >
36
+
37
+ <input type="text" id="nav-search" placeholder="Search" />
38
+
39
+ <h2><a href="index.html">Home</a></h2><h2><a href="http://www.vertxai.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ai</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui</a></h2><h2><a href="http://www.vertxui.cn/document/doc-web-extension/index.html" target="_blank" class="menu-item" id="website_link" >「Api」Zero Ui Extension</a></h2><h2><a href="http://www.vertxui.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero UI</a></h2><h2><a href="http://www.vertxai.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Ai</a></h2><h2><a href="http://www.vertxup.cn" target="_blank" class="menu-item" id="website_link" >「Home」Zero Framework</a></h2><h2><a href="http://www.origin-x.cn" target="_blank" class="menu-item" id="website_link" >「Home」Origin X Engine</a></h2><h3>Classes</h3><ul><li><a href="E.html">E</a></li></ul><h3>Modules</h3><ul><li><a href="module-__epic.html">__epic</a></li><li><a href="module-ai.html">ai</a><ul class='methods'><li data-type='method'><a href="module-ai.html#.csv">csv</a></li><li data-type='method'><a href="module-ai.html#.data">data</a></li><li data-type='method'><a href="module-ai.html#.init">init</a></li><li data-type='method'><a href="module-ai.html#.key">key</a></li><li data-type='method'><a href="module-ai.html#.md5">md5</a></li><li data-type='method'><a href="module-ai.html#.str">str</a></li><li data-type='method'><a href="module-ai.html#.sync">sync</a></li><li data-type='method'><a href="module-ai.html#.uk">uk</a></li><li data-type='method'><a href="module-ai.html#.uuid">uuid</a></li></ul></li><li><a href="module-aj.html">aj</a><ul class='methods'><li data-type='method'><a href="module-aj.html#.bundle">bundle</a></li><li data-type='method'><a href="module-aj.html#.init">init</a></li><li data-type='method'><a href="module-aj.html#.mod">mod</a></li><li data-type='method'><a href="module-aj.html#.perm">perm</a></li><li data-type='method'><a href="module-aj.html#.plugin">plugin</a></li><li data-type='method'><a href="module-aj.html#.rs">rs</a></li></ul></li><li><a href="module-art.html">art</a><ul class='methods'><li data-type='method'><a href="module-art.html#.complex">complex</a></li><li data-type='method'><a href="module-art.html#.form">form</a></li></ul></li></ul>
40
+ </nav>
41
+
42
+ <div id="main">
43
+
44
+ <h1 class="page-title">__epic</h1>
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+ <section>
53
+
54
+ <header>
55
+
56
+ </header>
57
+
58
+ <article>
59
+
60
+ <div class="container-overview">
61
+
62
+
63
+
64
+ <dl class="details">
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ </dl>
98
+
99
+
100
+
101
+
102
+
103
+ <div class="description usertext"><h2>「内部」改造命令专用</h2></div>
104
+
105
+
106
+
107
+
108
+ </div>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+ </article>
131
+
132
+ </section>
133
+
134
+
135
+
136
+
137
+
138
+
139
+ </div>
140
+
141
+ <br class="clear">
142
+
143
+ <footer>
144
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Jul 23 2023 12:25:27 GMT+0800 (China Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
145
+ </footer>
146
+
147
+ <script>prettyPrint();</script>
148
+ <script src="scripts/polyfill.js"></script>
149
+ <script src="scripts/linenumber.js"></script>
150
+
151
+ <script src="scripts/search.js" defer></script>
152
+
153
+
154
+
155
+ </body>
156
+ </html>