Skip to content

Commit 4f1e4a6

Browse files
committed
feat: overhaul CLI UI with @clack/prompts and listr2
- init: replace readline with @clack/prompts (text, select, confirm, group) - setup: replace info/success pairs with listr2 task list - deploy: clack spinner + note box, better dry-run with ui.note - prompt.ts: confirm() uses @clack/prompts - ui.ts: rewritten around @clack/prompts primitives - help: banner via clack intro
1 parent 3c63bb1 commit 4f1e4a6

8 files changed

Lines changed: 468 additions & 215 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@
2727
"prepublishOnly": "pnpm lint && pnpm test && pnpm build"
2828
},
2929
"dependencies": {
30+
"@clack/prompts": "^1.4.0",
3031
"chalk": "^5.3.0",
3132
"commander": "^12.1.0",
3233
"execa": "^9.5.1",
3334
"fs-extra": "^11.3.5",
3435
"jiti": "^2.4.2",
3536
"js-yaml": "^4.1.0",
37+
"listr2": "^10.2.1",
3638
"ora": "^8.1.1",
3739
"ssh2": "^1.16.0",
3840
"zod": "^3.24.1"

pnpm-lock.yaml

Lines changed: 162 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)