mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-29 17:44:09 +01:00
CLI: --automation-read-root / --automation-write-root for mcp and serve
The spelling the other crafting apps use; the same as --read-root / --write-root. Fixes #57.
This commit is contained in:
1 parent
3fac2b1482
commit
c4353cc8d0
3 files changed
+28
-5
No files matched your search
@@ -100,7 +100,9 @@ print(call("command.run", {"id": "layer.add.fill", "params": {"color": [0.8, 0.1
|
||||
- **Headless** (default): an in-process session that starts on the material ball (1024).
|
||||
Files are reachable only below the roots given at launch, as forward-slash paths relative to
|
||||
them: `--read-root <dir>` for `project_open` / `mesh_import` / `mesh_reimport` / `bake_mesh_add`,
|
||||
`--write-root <dir>` for `project_save` / `material_save` / `textures_export` / `mesh_export`. Without roots there is no file access. `..`, absolute
|
||||
`--write-root <dir>` for `project_save` / `material_save` / `textures_export` / `mesh_export`
|
||||
(`--automation-read-root` / `--automation-write-root`, as in the other crafting apps, are the
|
||||
same flags). Without roots there is no file access. `..`, absolute
|
||||
paths, drive letters, device names and symlink or junction escapes are refused.
|
||||
- **Bridge**: `--bridge <port>` forwards to a running `texturecraft --control <port>` (token from
|
||||
`--token`, `TEXTURECRAFT_CONTROL_TOKEN` or the app's token file). The app reads and writes its
|
||||
|
||||
Reference in new issue
Block a user