Skip to content

feat: zero new --json envelope#22

Open
mkitsugi wants to merge 1 commit into
vercel-labs:mainfrom
mkitsugi:feat-zero-new-json
Open

feat: zero new --json envelope#22
mkitsugi wants to merge 1 commit into
vercel-labs:mainfrom
mkitsugi:feat-zero-new-json

Conversation

@mkitsugi
Copy link
Copy Markdown

zero new is the only project-scaffolding entry point without a JSON envelope. Adds --json with kind, name, path, manifest, entry, and nextSteps so scaffold output can be consumed structurally.

$ bin/zero new --json cli mycli
{
  "schemaVersion": 1,
  "ok": true,
  "kind": "cli",
  "name": "mycli",
  "path": "mycli",
  "manifest": "mycli/zero.json",
  "entry": "mycli/src/main.0",
  "nextSteps": ["zero check mycli", "zero test mycli", "zero run mycli"]
}

Plain-text output is unchanged. lib omits zero run in nextSteps. The new arg parser is rewritten to be order-independent so --json can appear before or after the positional args.

zero new is the only project-scaffolding entry point without a JSON
envelope. Adds --json with kind, name, path, manifest, entry, and
nextSteps so scaffold output can be consumed structurally.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

@mkitsugi is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant