@machinen/cli 0.4.0 → 0.4.2
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 +6 -6
- package/dist/cli.js +4531 -2800
- package/dist/cli.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@ or a script — without writing any TypeScript.
|
|
|
10
10
|
start a long-running service and detach so your shell can exit.
|
|
11
11
|
- **Hand a running process off to another machine.** Snapshot it on
|
|
12
12
|
host A, copy the bundle, restore on host B. The process resumes
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
from the saved VM state — same heap and counters in memory, with
|
|
14
|
+
host port forwards declared again on the target.
|
|
15
15
|
- **Clone a warmed-up VM into a sibling.** `fork` snapshots and
|
|
16
16
|
restores in one step; both copies run independently from a shared
|
|
17
17
|
heap. Useful for branching test fixtures, parallel exploration, or
|
|
@@ -32,7 +32,7 @@ or a script — without writing any TypeScript.
|
|
|
32
32
|
|
|
33
33
|
For end-to-end recipes (provisioning images, mounts, networking,
|
|
34
34
|
snapshot patterns), see the [guides](../../docs/). For the full
|
|
35
|
-
command
|
|
35
|
+
command reference, see [API.md](./API.md).
|
|
36
36
|
|
|
37
37
|
## Install
|
|
38
38
|
|
|
@@ -55,7 +55,7 @@ companion GitHub release over HTTPS; no GitHub authentication is needed.
|
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
57
|
npx machinen boot ./image.tar.gz # boot a provisioned image
|
|
58
|
-
npx machinen boot --name worker --
|
|
58
|
+
npx machinen boot --name worker --detach ./image.tar.gz
|
|
59
59
|
# ... and reach it from another shell:
|
|
60
60
|
npx machinen ls
|
|
61
61
|
npx machinen exec worker -- ps aux
|
|
@@ -72,8 +72,8 @@ by process.
|
|
|
72
72
|
|
|
73
73
|
## Reference
|
|
74
74
|
|
|
75
|
-
The
|
|
76
|
-
|
|
75
|
+
The command reference — main flags, cache layout, and env vars — is in
|
|
76
|
+
[API.md](./API.md).
|
|
77
77
|
|
|
78
78
|
## License
|
|
79
79
|
|