Command line
Editor
With no project file the editor opens the project hub.
For automated runs:
A hidden or headless editor ignores the saved layout and the recent projects list, opens no sound device and starts no other program, so automated runs are repeatable and leave nothing behind.
Runtime
With no project file the runtime looks for its own pack: Game.cairnpak beside the program, or in the Resources of a macOS bundle. That is what an exported game is.
The runtime exits with a non-zero code if any error was logged. With --validation, a Vulkan validation error counts.
CLI
Each argument is one JSON command. With none, commands are read from standard input, one per line. Each answer is printed as one line of JSON.