@fugood/bricks-cli 2.25.0-beta.42 → 2.25.0-beta.45

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
@@ -188,6 +188,12 @@ bricks app trigger <app-id> <test-id> [--play|--stop] [--setup-at-launch]
188
188
 
189
189
  # Preview a release without publishing
190
190
  bricks app release <app-id> -c <config-path-or-json> [-n name] [--version version] [--changelogs text] [--dry-run] [-j|--json]
191
+
192
+ # Diagnose a config: schema validation + semantic lint rules
193
+ # (data-update-race, redundant-rect-overlay, off-grid-frame, out-of-bounds-frame,
194
+ # wait-async-no-op, missing-result-param, unused-data-node, z-order-cover)
195
+ # Accepts a local file path or a remote application id.
196
+ bricks app doctor <app-id-or-path> [-c|--composed] [--strict] [--only codes] [--ignore codes] [-j|--json]
191
197
  ```
192
198
 
193
199
  ### Module Management
@@ -210,6 +216,10 @@ bricks module short-edit <module-id> -l '[{"shortId":"<subspace-short-id>","path
210
216
 
211
217
  # Preview a release without publishing
212
218
  bricks module release <module-id> -c <config-path-or-json> [-n name] [--version version] [--changelogs text] [--dry-run] [-j|--json]
219
+
220
+ # Diagnose a module config (same rules as `app doctor`; the root subspace's
221
+ # data nodes are treated as the module's exposed interface)
222
+ bricks module doctor <module-id-or-path> [--strict] [--only codes] [--ignore codes] [-j|--json]
213
223
  ```
214
224
 
215
225
  ### Device Group Management