@opentapd/tplugin-cli 0.20.0-beta.15 → 0.20.0-beta.16
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/cli.js +8 -6
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -58,12 +58,14 @@ program.command('serve')
|
|
|
58
58
|
.action(actionRunner(() => require('./lib/serve')()));
|
|
59
59
|
|
|
60
60
|
// install 安装指令,安装插件到某个项目
|
|
61
|
-
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
61
|
+
if (tpluginConf.tapd.pluginEnv !== 'cloud') {
|
|
62
|
+
program.command('install')
|
|
63
|
+
.description('安装测试项目')
|
|
64
|
+
.action(actionRunner(async () => {
|
|
65
|
+
await require('./lib/install')();
|
|
66
|
+
console.log('');
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
67
69
|
|
|
68
70
|
// init 初始化插件
|
|
69
71
|
program.command('init')
|