Godot
@reset/godotv2026.10.20.1
01README
Drive the Godot 4 editor headlessly from its documented command line: read the engine version and project settings, reimport assets, read the export presets, export a preset and parse GDScript files, each written as a resource a workflow can assert on.
02Behaviors
@reset/godotv2026.10.20.1godot.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| projectPath | string | |
| godot? | string | |
| timeoutSeconds? | number |
fn version()
Read the engine version with godot --version and the project's application settings from project.godot
fn import()
Reimport the project's assets with --headless --import and record the exit code, duration and error lines
fn presets()
Read the export presets from the project's export_presets.cfg
fn export(preset: string, path: string, mode?: enum)
Export the project with --headless --export-release, --export-debug or --export-pack and record the produced file's size
| Argument | Type | Description |
|---|---|---|
| preset | string | |
| path | string | |
| mode? | enum |
fn check(scripts: array)
Parse GDScript files one at a time with --headless --check-only -s and record each file's parse errors
| Argument | Type | Description |
|---|---|---|
| scripts | array |
Resources
version(30d)— The engine version godot --version printed, parsed, and the project's name, version, main scene and feature list from project.godot
import(30d)— One --import run: exit code, duration, the error lines it printed and a bounded log excerpt
presets(30d)— The export presets export_presets.cfg declares: name, platform, export path and flags of each
export(infinite)— One export run: the preset, mode and output path, the produced file's size, exit code, duration, error lines and a bounded log excerpt
check(30d)— One --check-only pass over a list of scripts: each script's exit code and parse errors, and the pass and fail counts
03Stats
A
100 / 100
Downloads
1
Archive size
19.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
deno-command1 accepted
Spawns a subprocess with Deno.Command().
- models/godot.ts:279 — the Godot editor binary is the only way to import, export and parse a project, and its arguments are the validated global arguments, a preset name and paths
behavior-spelling1 accepted
- (extension) — Written against swamp 20261020.024627.0, the release that added the behavior spelling. Consumers on an older swamp are not supported.
05Platforms
06Labels