mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[PR #3] [MERGED] fix: show clear error when only one CLI tool is installed #14
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cli-continues#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/yigitkonur/cli-continues/pull/3
Author: @barisgirismen
Created: 2/19/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @yigitkonur
Base:
main← Head:fix/single-tool-error-message📝 Commits (1)
94b80f5fix: show clear error when only one CLI tool is installed📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
src/cli.ts(+14 -0)📄 Description
When only one CLI tool is installed,

clack.select()receives an empty options array and crashes with:This adds a guard in both places where target tool selection happens. Instead of crashing, it now tells the user which tool was detected and lists the ones they could install:

Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.