@secondlayer/cli 4.0.1 → 5.0.1
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 +2 -2
- package/dist/cli.js +447 -111
- package/dist/cli.js.map +8 -7
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ bun add -g @secondlayer/cli
|
|
|
20
20
|
sl login
|
|
21
21
|
sl project create my-app
|
|
22
22
|
sl project use my-app
|
|
23
|
-
sl instance create --plan
|
|
23
|
+
sl instance create --plan launch
|
|
24
24
|
|
|
25
25
|
sl subgraphs scaffold SP1234ABCD.my-contract -o subgraphs/my-contract.ts
|
|
26
26
|
sl subgraphs deploy subgraphs/my-contract.ts --start-block <recent-block>
|
|
@@ -74,7 +74,7 @@ One instance per project. The platform API spawns a dedicated `sl-pg-{slug}`,
|
|
|
74
74
|
|
|
75
75
|
| Command | What it does |
|
|
76
76
|
|---|---|
|
|
77
|
-
| `sl instance create --plan <
|
|
77
|
+
| `sl instance create --plan <launch\|scale>` | Provision containers after trial/subscription activation. Boxed reveal of `serviceKey` + `anonKey` (shown once). |
|
|
78
78
|
| `sl instance info` | Plan, status, resource usage |
|
|
79
79
|
| `sl instance resize --plan <...>` | Recreate containers with new CPU/memory (~30s downtime) |
|
|
80
80
|
| `sl instance suspend` / `resume` | Stop/start containers, volume preserved |
|