@wagq/wa-cli 0.6.24 → 0.6.25

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 (2) hide show
  1. package/README.md +24 -10
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # cli 工具
2
2
 
3
3
  使用方式 全局安装后 可使用 wa [命令]
4
+
4
5
  - 更多描述可以使用help查看
5
6
 
6
7
  ```
@@ -8,32 +9,45 @@
8
9
  ```
9
10
 
10
11
  - 初始化项目
12
+
11
13
  ```bash
12
- wa init
14
+ wa init
13
15
  ```
14
16
 
15
17
  - 启动本地服务
18
+
19
+ - `-P` 3000 指定端口
20
+ - `-S` true 开启https
21
+
16
22
  ```bash
17
- wa server [path]
23
+ wa server [path]
18
24
  ```
19
- 可选参数
20
- -P 3000 指定端口
21
- -S true 开启https
22
25
 
23
26
  - 转换 xlsx 文件为多语言配置
24
- wa xlsx2Config [path] [name] [ext]
25
- 参数
26
27
 
27
- - path 文件路径
28
- - name 被转换目标文件名称
29
- - ext 转换后文件扩展名 json 或 ts
28
+ - `path` 文件路径
29
+ - `name` 被转换目标文件名称
30
+ - `ext` 转换后文件扩展名 json 或 ts
31
+
32
+ ```bash
33
+ wa xlsx2Config [path] [name] [ext]
34
+ ```
30
35
 
31
36
  - 同步远端低代码配置
37
+
32
38
  ```bash
33
39
  wa daml
34
40
  ```
35
41
 
36
42
  - 同步远端应用所有页面的低代码配置
43
+
37
44
  ```bash
38
45
  wa damls
39
46
  ```
47
+
48
+ - batchUpdate
49
+ 批量更新指定组织下的包
50
+
51
+ ```bash
52
+ wa batchUpdate
53
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wagq/wa-cli",
3
- "version": "0.6.24",
3
+ "version": "0.6.25",
4
4
  "description": "wa的脚手架",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,6 +8,10 @@
8
8
  "pub": "npm publish --access public --registry=https://registry.npmjs.org",
9
9
  "dev": "node ./bin/wa.js"
10
10
  },
11
+ "exports": {
12
+ "cert": "./config/cert.pem",
13
+ "key": "./config/key.pem"
14
+ },
11
15
  "keywords": [
12
16
  "wa的脚手架"
13
17
  ],