In order to use a project in a lesson with the GDScript Live Editor, a project must be prepared.
This small utility with 0 dependencies builds the required configuration file.
You will need Node to run the utility.
npx godot-learning-app-exporter path/to/godot/projectpath/to/godot/project is the directory where a project.godot file can be found.
This command will output JSON with the proper configuration to STDOUT. Pipe it/redirect it to the tool of your choice
If you don't like redirection, just use --output:
npx godot-learning-app-exporter path/to/godot/project -o config.json- -h --help this help text
- -o --output [file] save to file