@fugood/bricks-cli 2.25.5-beta.1 → 2.25.5
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 +5 -0
- package/lib/1708.js +2 -2
- package/lib/2486.js +1 -1
- package/lib/3223.js +4 -4
- package/lib/563.js +4 -4
- package/lib/6194.js +2 -2
- package/lib/6818.js +1 -1
- package/lib/7233.js +1 -1
- package/lib/907.js +51 -31
- package/lib/9590.js +2 -2
- package/lib/index.js +38 -38
- package/lib/lib.js +55 -35
- package/package.json +6 -5
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]
|