@fugood/bricks-cli 2.26.0-beta.32 → 2.26.0-beta.34
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 +20 -1
- package/lib/1708.js +2 -2
- package/lib/1809.js +1 -0
- package/lib/2486.js +1 -1
- package/lib/638.js +1 -0
- package/lib/6818.js +1 -1
- package/lib/7294.js +1 -1
- package/lib/7494.js +2 -2
- package/lib/7511.js +3 -3
- package/lib/8687.js +49 -0
- package/lib/907.js +69 -43
- package/lib/9387.js +2 -2
- package/lib/9439.js +38 -38
- package/lib/index.js +33 -32
- package/lib/lib.js +52 -26
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -340,7 +340,7 @@ bricks blueprint projection <blueprint-id>
|
|
|
340
340
|
|
|
341
341
|
Media Flow commands require:
|
|
342
342
|
- Workspace has Media Flow enabled (`Workspace Settings → Media Flow`).
|
|
343
|
-
- Your token includes `query_media_flow` permission (and `write_media_flow` for
|
|
343
|
+
- Your token includes `query_media_flow` permission (and `write_media_flow` for upload and other changes).
|
|
344
344
|
|
|
345
345
|
```bash
|
|
346
346
|
# List Media Flow boxes
|
|
@@ -357,8 +357,27 @@ bricks media files <box-id> \
|
|
|
357
357
|
|
|
358
358
|
# Get a Media Flow file (prints original + thumbnail URLs)
|
|
359
359
|
bricks media file <file-id> [-j|--json]
|
|
360
|
+
|
|
361
|
+
# Create / edit a box (OAuth login only: the workspace token API has no box mutations)
|
|
362
|
+
bricks media box-create -n <name> [-d description] [-t tag ...] [-j]
|
|
363
|
+
bricks media box-edit <box-id> [-n name] [-d description] [-t tag ... | --clear-tags] [-j]
|
|
364
|
+
|
|
365
|
+
# Passcodes (codes are hidden in all output unless --show-codes; add/remove need OAuth)
|
|
366
|
+
bricks media passcode list <box-id> [--show-codes] [-j]
|
|
367
|
+
bricks media passcode add <box-id> [-n name] (--code-stdin | --code <code>) \
|
|
368
|
+
[--expires-in 30m|12h|7d] [-p ALL|READ_ONLY,POST_ONLY,DELETE] [--show-codes] [-j]
|
|
369
|
+
bricks media passcode remove <box-id> <passcode-id> [-y] [-j]
|
|
370
|
+
|
|
371
|
+
# Files
|
|
372
|
+
bricks media file-edit <file-id...> [-n name] [-d description] [-t tag ... | --clear-tags] [-j]
|
|
373
|
+
bricks media file-copy <from-box-id> <to-box-id> <file-id...> [-j]
|
|
374
|
+
bricks media file-delete <box-id> <file-id...> [-y] [-j]
|
|
375
|
+
bricks media box-clear <box-id> [-t image,video] [-y] [-j]
|
|
376
|
+
bricks media box-preview <file-id> [-j]
|
|
360
377
|
```
|
|
361
378
|
|
|
379
|
+
`media boxes`, `media box` and `media passcode list` hide passcode codes, also with `--json`; pass `--show-codes` to include them. For passcodes made in box settings the server returns a hash, not the code. `file-delete`, `box-clear` and `passcode remove` ask for confirmation on a terminal, and need `-y` in scripts or with `--json`.
|
|
380
|
+
|
|
362
381
|
### Data Bank (Remote Properties)
|
|
363
382
|
|
|
364
383
|
Manage the workspace Data Bank: settings and space keys go through the Workspace API
|