brasa_cli
brasa_cli does from the command line what the editor does on Play.
brasa_cli build <project folder> [--sdk <sdk folder>]brasa_cli run <project folder> [--sdk <sdk folder>] [--room <name>]brasa_cli migrate <project folder>| Command | What it does |
|---|---|
build |
Generates the build files and compiles the game. |
run |
Compiles and opens the game. With --room, it starts at the given room instead of the start room. |
migrate |
Converts a project from the old format to format 2. |
Options
Section titled “Options”--sdk <folder>: where the Brasa SDK is. Without it,brasa_clilooks for the SDK by itself, starting from the folder of its own executable.--room <name>: only onrun.
Just like Play, build and run also generate the project’s .vscode/, for autocomplete.
