Skip to content

improve prompts command selection#78

Merged
mmkal merged 4 commits intomainfrom
prompts-command-selection
May 5, 2025
Merged

improve prompts command selection#78
mmkal merged 4 commits intomainfrom
prompts-command-selection

Conversation

@mmkal
Copy link
Copy Markdown
Owner

@mmkal mmkal commented May 5, 2025

refactor: rely more on commander for subcommand parsing

this allows the "shadow" command to have an async onAnalyze - so that we can put the subcommand selection prompt in that.

we still run in a loop which is capped at 100. Nobody should be writing CLIs with 100-deep subcommands

mmkal added 2 commits May 2, 2025 17:37
this allows the "shadow" command to have an async `onAnalyze` - so that we can put the subcommand selection prompt in that.

we still run in a loop which is capped at 100. Nobody should be writing CLIs with 100-deep subcommands
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 5, 2025

Open in StackBlitz

npm i https://pkg.pr.new/mmkal/trpc-cli@78

commit: c674709

@mmkal mmkal force-pushed the prompts-command-selection branch from 647bb1e to feb6f05 Compare May 5, 2025 18:49
@mmkal mmkal marked this pull request as ready for review May 5, 2025 18:57
@mmkal mmkal merged commit 85f5407 into main May 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant