@wagq/wa-cli 0.5.3 → 0.5.5
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.
- package/config/command.js +9 -8
- package/package.json +1 -1
package/config/command.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
const init = require("../lib/init");
|
|
2
2
|
const server = require("../lib/server");
|
|
3
3
|
const xlsx2Config = require("../lib/locale/xlsx2Config");
|
|
4
|
-
const asyncDaml = require(
|
|
4
|
+
const asyncDaml = require('../lib/daml/async')
|
|
5
5
|
|
|
6
6
|
const command = [
|
|
7
|
+
{
|
|
8
|
+
name: "daml",
|
|
9
|
+
alias: "d",
|
|
10
|
+
description: "同步低代码逻辑器文件",
|
|
11
|
+
action: () => {
|
|
12
|
+
asyncDaml();
|
|
13
|
+
},
|
|
14
|
+
},
|
|
7
15
|
{
|
|
8
16
|
name: "init",
|
|
9
17
|
alias: "i",
|
|
@@ -61,13 +69,6 @@ const command = [
|
|
|
61
69
|
],
|
|
62
70
|
action: xlsx2Config,
|
|
63
71
|
},
|
|
64
|
-
{
|
|
65
|
-
name: 'daml',
|
|
66
|
-
description: '同步低代码文件到本地',
|
|
67
|
-
action: () => {
|
|
68
|
-
asyncDaml()
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
72
|
];
|
|
72
73
|
|
|
73
74
|
module.exports = command;
|