@deveco-test/deveco-cli 1.3.0-Test.16 → 1.3.0-Test.18
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/README.md +6 -1
- package/dist/cli.js +106 -104
- package/dist/internal/telemetry-upload-background.js +1 -1
- package/index.zip +0 -0
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -126,6 +126,10 @@ devecocli init --path D:\work\ARKTS\NewData
|
|
|
126
126
|
- `Tail the last error logs from this app`
|
|
127
127
|
- `Check for syntax errors in src/main/ets/pages/Index.ets`
|
|
128
128
|
|
|
129
|
+
**说明:**
|
|
130
|
+
- 在`Windows`上搭配`devecocli`使用`opencode`时,推荐将[powershell 7](https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows?view=powershell-7.6) 作为默认执行终端。
|
|
131
|
+
- 在`Windows`上用`opencode`执行devecocli build/emulator start等指令时,若命令结束后终端无法正常退出,建议将默认终端切换为[powershell 7](https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows?view=powershell-7.6)
|
|
132
|
+
|
|
129
133
|
## 常用命令
|
|
130
134
|
|
|
131
135
|
| 命令 | 用途 |
|
|
@@ -1348,7 +1352,8 @@ devecocli skills remove --skill skillname --agent agentname # skillname需替
|
|
|
1348
1352
|
"environment":{
|
|
1349
1353
|
"PROJECT_PATH": "D:\\code\\sample_project", // 工程路径
|
|
1350
1354
|
"NODE_MAX_OLD_SPACE_SIZE": "8192", // 可选,设置内部node进程最大的老生代内存大小,默认为8192
|
|
1351
|
-
"DEVECO_PATH": "D:\\Application\\DevEco Studio" // 可选,Deveco Studio的路径
|
|
1355
|
+
"DEVECO_PATH": "D:\\Application\\DevEco Studio", // 可选,Deveco Studio的路径
|
|
1356
|
+
"DEVECO_CLI_CPP_ENABLED": "true" // 可选,是否启用C++ LSP服务,默认为true,设为false可关闭
|
|
1352
1357
|
},
|
|
1353
1358
|
"enbale": true
|
|
1354
1359
|
}
|