Skip to content

refactor(cli): consolidate picker implementations - #14272

Merged
davidpdrsn merged 1 commit into
masterfrom
dp-port-pickers
Jun 18, 2026
Merged

refactor(cli): consolidate picker implementations#14272
davidpdrsn merged 1 commit into
masterfrom
dp-port-pickers

Conversation

@davidpdrsn

@davidpdrsn davidpdrsn commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Unifies all CLI pickers under InputOutputChannel::{prompt_select, prompt_multi_select}.

I also removed the vendored cli-prompts crate and implemented our own picker with ratatui. I don't think its worth pulling in a whole new dependency just for a picker. I did using dialoguer first but ran into a bunch of issues with that.

@github-actions github-actions Bot added rust Pull requests that update Rust code CLI The command-line program `but` labels Jun 17, 2026
@davidpdrsn
davidpdrsn force-pushed the dp-port-pickers branch 2 times, most recently from cad94f1 to 2571c97 Compare June 18, 2026 08:56
@davidpdrsn
davidpdrsn marked this pull request as ready for review June 18, 2026 09:08
Copilot AI review requested due to automatic review settings June 18, 2026 09:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.

@slarse slarse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for push.yml change, rest is too big to review :D

@davidpdrsn
davidpdrsn enabled auto-merge June 18, 2026 09:23
@davidpdrsn
davidpdrsn merged commit 7a0b368 into master Jun 18, 2026
45 checks passed
@davidpdrsn
davidpdrsn deleted the dp-port-pickers branch June 18, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI The command-line program `but` rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants