Rogen

Commands

Rojo's commands through Rogen, and Rogen's own

Updated

Rogen runs Rojo's commands with Rojo's flags. Each one writes the project file first, so Rojo always reads what your config says:

CommandWhat it does
rogen serveServes the project with Rojo, and writes it again on every change
rogen buildBuilds a place (-o game.rbxl) or a plugin (-p)
rogen uploadBuilds the project and uploads it to Roblox
rogen sourcemapWrites a sourcemap for luau-lsp and other tools
rogen syncbackBrings changes made in a place file back into your source files
rogen fmt-projectFormats the config
rogen plugin installInstalls Rojo's Studio plugin, matching the Rojo your project pins

In a folder with a plain default.project.json and no config, these commands run on that file as Rojo would, and write nothing.

Rogen's own commands:

CommandWhat it does
rogen initStarts a project
rogen writeWrites the project file, and with --watch on every change
rogen checkPrints every error and warning
rogen wherePrints where a file lands in the game, and how to require it
rogen helpPrints a command's flags, or what a diagnostic code means
rogen docOpens these docs, or prints a topic offline

To sync with Argon or another tool instead of Rojo, run rogen write --watch beside it. rogen help <command> lists every flag.