@fugood/bricks-cli 2.25.5-beta.2 → 2.25.6
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 +8 -0
- package/lib/1708.js +6 -6
- package/lib/1936.js +1 -1
- package/lib/2486.js +1 -1
- package/lib/32.js +1 -0
- package/lib/3593.js +1 -1
- package/lib/3781.js +78 -0
- package/lib/3893.js +7 -0
- package/lib/4456.js +1 -1
- package/lib/{6842.js → 4685.js} +2 -2
- package/lib/4920.js +1 -0
- package/lib/5140.js +1 -0
- package/lib/5658.js +1 -1
- package/lib/6194.js +1 -1
- package/lib/6818.js +1 -1
- package/lib/6954.js +19 -0
- package/lib/7233.js +10 -10
- package/lib/7294.js +3 -3
- package/lib/7494.js +19 -2
- package/lib/7511.js +1 -1
- package/lib/907.js +52 -31
- package/lib/9320.js +1 -1
- package/lib/9387.js +4 -4
- package/lib/9590.js +1 -1
- package/lib/index.js +89 -89
- package/lib/lib.js +124 -86
- package/package.json +7 -7
- package/lib/1010.js +0 -1
- package/lib/1826.js +0 -7
- package/lib/4479.js +0 -36
- package/lib/6042.js +0 -1
- package/lib/8341.js +0 -1
- package/lib/9583.js +0 -19
package/README.md
CHANGED
|
@@ -177,6 +177,11 @@ bricks device get <device-id> [-j|--json]
|
|
|
177
177
|
bricks device bind <passcode> [-n device-name]
|
|
178
178
|
bricks device bind <passcode> [--dry-run] [-j|--json]
|
|
179
179
|
|
|
180
|
+
# Virtual (web) devices: create one and issue the token that opens it in a browser
|
|
181
|
+
bricks device create-virtual <name> [--token-name name] [--types UPDATE_STATUS,LISTEN_EVENTS,MANAGE_APPS] [--expires-in days] [--no-token] [--dry-run] [-j|--json]
|
|
182
|
+
bricks device token <device-id> [--token-name name] [--types ...] [--expires-in days] [-j|--json]
|
|
183
|
+
# The printed URL is <controller>/webLauncher.html?token=…; set BRICKS_CONTROLLER_URL to override the controller origin.
|
|
184
|
+
|
|
180
185
|
# Control device
|
|
181
186
|
bricks device control <device-id> <type> [-p payload] [--dry-run] [-j|--json]
|
|
182
187
|
bricks device refresh <device-id> [--dry-run] [-j|--json]
|
|
@@ -344,6 +349,9 @@ Notes:
|
|
|
344
349
|
(prod → `bank.bricks.tools`, beta → `bank-beta.bricks.tools`, dev → `localhost:8080`).
|
|
345
350
|
- Environment overrides for CI / custom setups: `BRICKS_BANK_SPACENAME` + `BRICKS_BANK_SPACEKEY`
|
|
346
351
|
(skip the stored key) and `BRICKS_BANK_ENDPOINT` (custom Bank URL).
|
|
352
|
+
- `bricks buttress bank-key` issues a separate space key for a paired buttress-server and stores
|
|
353
|
+
it in the buttress `state.json`, so that server's local functions can use `context.bank`
|
|
354
|
+
(`--revoke` removes it; re-running rotates the key).
|
|
347
355
|
|
|
348
356
|
### Interactive Mode
|
|
349
357
|
|