@shotstack/cli 0.11.0 → 0.12.0
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 +3 -2
- package/dist/shotstack.js +50 -50
- package/package.json +1 -1
- package/skills/shotstack/SKILL.md +5 -4
package/README.md
CHANGED
|
@@ -82,9 +82,9 @@ shotstack status 01ja7-x8m2k-... --output json
|
|
|
82
82
|
|
|
83
83
|
### `shotstack studio <file>`
|
|
84
84
|
|
|
85
|
-
Opens a `shotstack.studio` URL that loads the Edit JSON in the browser-based editor. By default, posts the JSON to the share API and emits a short URL like `https://shotstack.studio/s/abc12345`
|
|
85
|
+
Opens a `shotstack.studio` URL that loads the Edit JSON in the browser-based editor. By default, posts the JSON to the share API and emits a short URL like `https://shotstack.studio/s/abc12345`. With an API key (`SHOTSTACK_API_KEY`, or the key saved for `--env`) the link is permanent; without one it lasts 30 days, and the command says so on stderr. A timeout, 429 or 5xx gets one retry, then the command falls back to inline base64url encoding and prints the cause. If the share API refuses the edit (too large, invalid, or an invalid key), the command exits 1 with the reason.
|
|
86
86
|
|
|
87
|
-
No render API key required
|
|
87
|
+
No render API key required and no render credits are charged; a key only makes the short link permanent. Use to hand a generated edit off to a human for review or quick tweaks before rendering.
|
|
88
88
|
|
|
89
89
|
```sh
|
|
90
90
|
shotstack studio my-template.json
|
|
@@ -93,6 +93,7 @@ shotstack studio my-template.json
|
|
|
93
93
|
shotstack studio my-template.json --copy # also copies URL to clipboard
|
|
94
94
|
shotstack studio my-template.json --no-open # print URL, don't open browser
|
|
95
95
|
shotstack studio my-template.json --no-shorten # emit base64url inline (offline / debug)
|
|
96
|
+
shotstack studio my-template.json --env stage # share with the saved stage key
|
|
96
97
|
shotstack studio my-template.json --output json # emit {"url":"...","shortened":true} on stdout
|
|
97
98
|
```
|
|
98
99
|
|