mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
e504e4a836
- Add hidden: true to the --template trap arg so it stops cluttering
--help output. New users never see a flag that's already gone.
- Rename user-facing "template" → "example" in two spinner/error
strings that survived the first pass: "Failed to scaffold example"
and "Downloading example".
- Quote the rename-hint's interpolated value so suggested commands
stay copy-pasteable even when the user passes values that look
flag-like (e.g., --template "--foo bar").
- Update the init test to match the quoted output.
- Skipped process.execPath spawn swap: the reviewer's suggestion
assumed vitest runs under bun, but this repo's vitest runs under
node (node is vitest's interpreter), so process.execPath is node
and can't load .ts entries. Kept spawn("bun", …) with a comment
noting why.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>