@stdout-design/cli 0.1.8 → 0.1.9
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 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@ A CLI for rendering your own TSX components into pixel-perfect social and market
|
|
|
21
21
|
bun add -d @stdout-design/cli
|
|
22
22
|
|
|
23
23
|
# Scaffold a project
|
|
24
|
-
npx
|
|
24
|
+
npx @stdout-design/cli init
|
|
25
25
|
|
|
26
26
|
# Render an image
|
|
27
|
-
npx
|
|
27
|
+
npx @stdout-design/cli render bento-feature --title "Hello" --out hello.png
|
|
28
28
|
|
|
29
29
|
# Or open the live studio
|
|
30
|
-
npx
|
|
30
|
+
npx @stdout-design/cli dev
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Installation
|
|
@@ -55,6 +55,8 @@ bun add -g @stdout-design/cli
|
|
|
55
55
|
| `studio cache clean` | Clear the render cache |
|
|
56
56
|
| `studio lint` | Check templates for compatibility |
|
|
57
57
|
|
|
58
|
+
Run commands with `npx @stdout-design/cli <command>`, or install globally with `bun add -g @stdout-design/cli` to use `studio <command>` directly.
|
|
59
|
+
|
|
58
60
|
### studio render
|
|
59
61
|
|
|
60
62
|
```bash
|