@crossdelta/platform-sdk 0.3.15 → 0.3.16
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 +17 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,10 +57,21 @@
|
|
|
57
57
|
### 1. Create a new workspace
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
|
-
|
|
60
|
+
# Using npx (npm)
|
|
61
|
+
npx @crossdelta/platform-sdk@latest new workspace my-platform
|
|
62
|
+
|
|
63
|
+
# Using bunx (Bun - faster!)
|
|
64
|
+
bunx @crossdelta/platform-sdk@latest new workspace my-platform
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Or install globally and use the shorter `pf` command:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm install -g @crossdelta/platform-sdk
|
|
71
|
+
pf new workspace my-platform
|
|
61
72
|
```
|
|
62
73
|
|
|
63
|
-
|
|
74
|
+
**With options:**
|
|
64
75
|
|
|
65
76
|
```bash
|
|
66
77
|
pf new workspace my-platform -y # Skip prompts
|
|
@@ -77,8 +88,10 @@ pf new workspace my-platform --no-github # Without CI/CD
|
|
|
77
88
|
| `-s, --pulumi-stack <name>` | Pulumi stack base name (org/project) |
|
|
78
89
|
| `--no-github` | Skip GitHub Actions workflows |
|
|
79
90
|
|
|
80
|
-
> 💡
|
|
81
|
-
>
|
|
91
|
+
> 💡 **Three ways to use the CLI:**
|
|
92
|
+
> - `npx @crossdelta/platform-sdk` — Run directly with npm (no install)
|
|
93
|
+
> - `bunx @crossdelta/platform-sdk` — Run with Bun (fastest, recommended)
|
|
94
|
+
> - `pf` — After global install, use the short alias
|
|
82
95
|
|
|
83
96
|
---
|
|
84
97
|
|