refactor(cli): extract interactive menu into reusable module #3

Merged
Mplan merged 1 commits from style/selection into main 2026-06-11 18:12:12 +08:00
Owner

Extract duplicate menu rendering logic from index.ts into a new src/menu.ts module, providing generic selectOne and selectMany functions. This reduces code duplication, improves maintainability, and adds consistent UI controls display across the commit flow and platform selection.

Extract duplicate menu rendering logic from `index.ts` into a new `src/menu.ts` module, providing generic `selectOne` and `selectMany` functions. This reduces code duplication, improves maintainability, and adds consistent UI controls display across the commit flow and platform selection.
Mplan added 1 commit 2026-06-11 18:11:49 +08:00
Mplan merged commit 1ea180387c into main 2026-06-11 18:12:12 +08:00
Mplan deleted branch style/selection 2026-06-11 18:12:12 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mplan/gai#3