@deveco-test/deveco-cli 0.4.0 → 0.5.0

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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Quick Start
8
8
 
9
- **Prerequisites:** Node.js >= 20, DevEco Studio installed (Windows or macOS).
9
+ **Prerequisites:** Node.js >= 18, DevEco Studio installed (Windows or macOS).
10
10
 
11
11
  > Not published yet — until then, build from source (see [Development](#development)) and run `node ./dist/cli.js`. After release, self-update via `devecocli update`.
12
12
 
package/SKILL.md CHANGED
@@ -1,10 +1,7 @@
1
1
  ---
2
2
  name: deveco-cli
3
3
  description: >-
4
- Use 'devecocli' to scaffold, build, run, and debug HarmonyOS apps — managing
5
- devices, emulators, hilog/log, and HMOS/HarmonyOS skills. Use when the workspace has
6
- build-profile.json5 or oh-package.json5, or the user mentions HarmonyOS/鸿蒙,
7
- DevEco, ArkTS, ArkUI, or HMOS/HarmonyOS skills.
4
+ **MUST** use 'devecocli' for HarmonyOS apps (scaffold, build, run, debug, devices, emulators, logs, docs, 鸿蒙开发文档, skills). **REQUIRED** and **MANDATORY** if workspace has build-profile.json5 or oh-package.json5, or user mentions HarmonyOS, 鸿蒙, DevEco, ArkTS, ArkUI, docs, 鸿蒙文档, 知识, 搜索, or skills.
8
5
  ---
9
6
 
10
7
  # DevEco CLI
@@ -48,7 +45,7 @@ Manage local emulator instances and system images.
48
45
  ### `devecocli docs`
49
46
  Search/read local HarmonyOS docs.
50
47
  - `search <keywords...>`: Match any keyword. Opts: `--catalog <name>`, `--format <default|json>`, `--limit <n>`.
51
- - `read <documentId>`: Read full content by ID.
48
+ - `read <documentId>`: Read full content by ID (e.g. `devecocli docs read 开发指南/冷启动_Launch分析/Launch模板基本操作/ide-insight-session-launch`).
52
49
  - `catalog`: List available catalogs.
53
50
 
54
51
  ### `devecocli device`