jafa init
Create a new Jafa workspace.
jafa init [target-directory]
target-directory— where to create the workspace. Defaults to the current directory (.).
What it does
- Copies the workspace scaffolding (
rokit.toml,wally/wally.toml,jafa.code-workspace,.gitignore,.vscode/,README.md,asset-updater.luau) into the target directory.asset-updater.luauis the Lune scriptjafa pullruns to pull published Roblox assets into a project. - Initializes a git repository, unless one already exists.
- Runs
rokit installto install Rojo, Wally, StyLua, Lune, Mantle, Selene, and wally-package-types. - Runs
wally install --project-path ./wally. - Creates a starter project inside
projects/— this is wheredefault.project.json,selene.toml, andstylua.tomlcome from; seejafa new.
See Workspaces for details on what gets created.
Examples
jafa init .
jafa init my-game