eggox pull
A game as files, into a folder on your machine.
eggox pull <game> [dir] [--json]
Writes the game as a folder: eggox.json, a folder per room, a file per thing. <game> is a name from eggox games or an id. The folder defaults to the game's name.
Pulling into a folder that already holds the game replaces its project files with what the game has now and removes the ones that are gone. Anything else in the folder (your git, notes, build scripts) is left alone. A .gitignore for .eggox/ is written if there is none.
The folder remembers the server, the game and the revision it was pulled at in .eggox/state.json. A push carries that revision so a change made elsewhere since is not overwritten by accident.
Examples
eggox pull "Ninja Skybound"
eggox pull room:tpi_room_7f3… ninja
$ eggox pull "Coin Rush"
Pulled Coin Rush into Coin Rush (3 files, revision 5b1e0c3a9d2f7e41).This page as markdown: /cli/pull.md