Repository navigation
init: add a place without a terminal, and init --json - #86
Merged
Merged
Conversation
…ace, as Enter does Pressing Enter at every question is meant to write what an init without a terminal writes, but beside an existing default.rogen.json the two disagreed: Enter adds a place, and the run that can't ask wrote a standalone config. Now `rogen init lobby --no-input` adds the place lobby in places/lobby, with the files Darklua or roblox-ts need for it, so a script or a coding agent can add a place without hand-writing them. A bare init there says to name the place, a default place folder that overlaps default's root dirs fails instead of being written, and a taken file that isn't a config is reported as init.fileExists without telling the user to delete it. The skill and the docs say how to add a place this way. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ith rogen where Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
init takes --json like build, where and list: it never asks, and prints one
document with the files it wrote (absolute, in order), its notes and its next
steps grouped as setup, run, darklua and edits. A failure is the usual
{ diagnostics } or { error } document, and a write that fails partway still
lists the files written before it. The skill now adds a place with
`rogen init <name> --json` and has the agent make the edits in
nextSteps.setup.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3 tasks done
1 task done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
initwithout a terminal writes, but beside an existingdefault.rogen.jsonthe two disagreed. Enter adds a place; the run that can't ask wrote a standalone config. Nowrogen init lobby --no-inputadds the placelobbyinplaces/lobby, with Darklua'slobby-sync.rogen.jsonor roblox-ts'stsconfig.lobby.json.initthere says to runrogen init <name>.init.invalidPlaceFolderinstead of being written.init.fileExists, which doesn't tell the user to delete it.init --json: likebuild,whereandlist, it never asks and prints one document. It holds the files written (absolute, in order), the notes, and the next steps assetup,run,darkluaandedits. A write that fails partway still lists the files written before it.rogen init <name> --jsonand makes the edits innextSteps.setup.cli.mdxandmulti-place.mdxdescribe both ways to add a place, andcli.mdxdocumentsinit --json.REFERENCE.mdno longer claimsrogen buildwarns about a capital-letter route suffix such asHttpClient.luau.Test plan
init.fileExistsandinit --json, including a write that fails partwayinit/add-place-no-input,add-place-darklua-no-input,add-place-roblox-ts-no-input(each runsinit lobby, thenbuild --all, and Rojo reads every output),init/init-json, and the updatedalready-exists-errorandhelp-for-command🤖 Generated with Claude Code