Files not created when running `npx tz init`
Versions
- cli 0.10.3
Node.js version
v22.18.0
OS + version
macOS 26.1
Description
When running the setup I don't get a terrazzo.config.js file. However, I expect this from the way it is written in the docs.
Am I doing something wrong or is this a bug?
The @terrazzo/plugin-css plugin is also not installed.
Reproduction
npm i -D @terrazzo/cli
npx tz init
// choose none for design system
// choose css for tool
Expected result
It should create the config file and install @terrazzo/plugin-css
Extra
- [ ] I’m willing to open a PR (see CONTRIBUTING.md)
Thanks for the bug! I just tested it and I think it’s a UX problem. The first question, “Start from existing design system?” is a “radio selection” and allows Enter.
However the second question, “Install plugins?” is a checklist list and has different keyboard controls. Space selects the checkbox and Enter confirms the selection.
So hitting Enter, Enter wouldn’t install any plugins or set up the config file, and it feels broken!
To solve this issue, since there’s a “None” option on the first question, I’ll add a “None” option on the second question and require 1 or more selected. Or just something that makes it clear the keyboard commands have changed.
I would love if I could just use Enter for both, this would make it very easy.