refactor(cli): extract interactive menu into reusable module #3
Reference in New Issue
Block a user
Delete Branch "style/selection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Extract duplicate menu rendering logic from
index.tsinto a newsrc/menu.tsmodule, providing genericselectOneandselectManyfunctions. This reduces code duplication, improves maintainability, and adds consistent UI controls display across the commit flow and platform selection.