@infosupport/huddle-cli 0.0.0-experiment-98.48.1 → 0.0.0-experiment-98.50.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 +10 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,17 +25,21 @@ huddle # start an IntelliJ devcontainer for the current director
|
|
|
25
25
|
huddle ./project # start for a specific directory
|
|
26
26
|
huddle --ide rider
|
|
27
27
|
huddle --ide vscode --name devcontainer-demo
|
|
28
|
-
huddle --ide vscode --mount
|
|
28
|
+
huddle --ide vscode --mount ../docker-corpa=/workspaces/backend --mount ../frontend-real-estate-info=/workspaces/frontend --name corpa-dev
|
|
29
29
|
huddle fw list
|
|
30
30
|
huddle firewall list -i
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
`--mount <
|
|
33
|
+
`--mount <host>=<container>` mounts an additional folder, worktree-isolated like the main workspace, at the container path you choose. The left side is a host path (relative paths are resolved against the current directory); the right side must be an **absolute** container path. Repeatable — pass one per folder — and cannot be combined with `--workspace`/`--empty`. Two mounts may not target the same container path.
|
|
34
34
|
|
|
35
|
-
`--
|
|
35
|
+
`--workspace-root <path>` sets the absolute container path the IDE opens as its project root. It requires at least one `--mount`. Without it the root defaults to the deepest directory the mount targets share, so the example above opens `/workspaces` and shows `backend/` and `frontend/` inside it. Mount targets that share nothing fall back to `/workspaces`.
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
huddle --ide vscode
|
|
38
|
+
huddle --ide vscode \
|
|
39
|
+
--mount ../ai-context-repo=/workspaces/ai \
|
|
40
|
+
--mount ../backend-repo=/workspaces/backend \
|
|
41
|
+
--mount ../frontend-repo=/workspaces/frontend \
|
|
42
|
+
--workspace-root /workspaces --name corpa-dev
|
|
39
43
|
```
|
|
40
44
|
|
|
41
45
|
Default API URL: `http://localhost:3000`. Override it with `--url` or `HUDDLE_URL`.
|
|
@@ -68,7 +72,8 @@ Main flags:
|
|
|
68
72
|
```text
|
|
69
73
|
--ide <intellij|rider|vscode>
|
|
70
74
|
--workspace <path>
|
|
71
|
-
--mount <
|
|
75
|
+
--mount <host>=<container> (repeatable, container path must be absolute)
|
|
76
|
+
--workspace-root <path> (container path the IDE opens; requires --mount)
|
|
72
77
|
--name <name>
|
|
73
78
|
--image <image>
|
|
74
79
|
--empty
|
package/package.json
CHANGED