Repository navigation
fix(cli): document --json for create-json and add-json - #1288
AmanVarshney01 wants to merge 1 commit into
Conversation
The JSON commands take their payload through --json. The README, the CLI docs and the agent content all said --input, which the CLI rejects with "unknown option '--input'". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe CLI README, web CLI documentation, and agent interface examples now use ChangesCLI JSON examples
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to
|
|
Combined into #1287, which now contains every commit from this PR. |
Summary
create-jsonandadd-jsontake their payload through--json. The README, the CLI docs (index.mdx,agent-workflows.mdx) and the site's agent content (agent-content.ts) said--input, which the CLI rejects:Agents following the docs fail on the first call. This replaces the flag in all 12 places. The
--inputinapps/cli/live-tests/providers.tsbelongs tovercel apiand is unchanged.Verification
create-better-t-stack create-json --json '{"projectName":"my-app","yes":true,"dryRun":true}'returns"success": trueand writes no files.git grep -e "-json --input"returns nothing.🤖 Generated with Claude Code
Summary by CodeRabbit
create-jsonandadd-jsoncommands to use--jsonwhen providing JSON payloads.