LinuxCommandLibrary

godot

godot

TLDR

Run a project if the current directory contains a project.godot file, otherwise open the project manager

$ godot
copy


Edit a project (the current directory must contain a project.godot file)
$ godot -e
copy


Open the project manager even if the current directory contains a project.godot file
$ godot -p
copy


Export a project for a given export preset (the preset must be defined in the project)
$ godot --export [preset] [output_path]
copy


Execute a standalone GDScript file (the script must inherit from SceneTree or MainLoop)
$ godot -s [script.gd]
copy

Copied to clipboard