@fugood/bricks-cli 2.25.0-beta.4 → 2.25.0-beta.40

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
@@ -105,6 +105,19 @@ bricks doctor
105
105
  bricks doctor --json
106
106
  ```
107
107
 
108
+ ### Self-update
109
+
110
+ ```bash
111
+ # Update the CLI in-place. Auto-detects how it was installed (npm, bun,
112
+ # standalone binary) and runs the matching update command. Falls back to
113
+ # the binary installer if the primary method fails.
114
+ bricks update-cli # prompts before updating
115
+ bricks update-cli -y # non-interactive
116
+
117
+ # Force a channel
118
+ bricks update-cli --channel beta
119
+ ```
120
+
108
121
  ### Configuration
109
122
 
110
123
  ```bash
@@ -174,7 +187,7 @@ bricks app bind <app-id> [-b device-ids] [-u device-ids] [--dry-run] [-j|--json]
174
187
  bricks app trigger <app-id> <test-id> [--play|--stop] [--setup-at-launch]
175
188
 
176
189
  # Preview a release without publishing
177
- bricks app release <app-id> -c <config-path-or-json> [--dry-run] [-j|--json]
190
+ bricks app release <app-id> -c <config-path-or-json> [-n name] [--version version] [--changelogs text] [--dry-run] [-j|--json]
178
191
  ```
179
192
 
180
193
  ### Module Management
@@ -196,7 +209,7 @@ bricks module update <module-id> [-n name] [-d description] [-c config-json] [-f
196
209
  bricks module short-edit <module-id> -l '[{"shortId":"<subspace-short-id>","path":"property.name","content":"value"}]'
197
210
 
198
211
  # Preview a release without publishing
199
- bricks module release <module-id> -c <config-path-or-json> [--dry-run] [-j|--json]
212
+ bricks module release <module-id> -c <config-path-or-json> [-n name] [--version version] [--changelogs text] [--dry-run] [-j|--json]
200
213
  ```
201
214
 
202
215
  ### Device Group Management