Expand description
Interactive selection prompts.
User-facing selection flows using dialoguer: mode picker, branch picker,
and CLI picker (uniform and per-branch). Logic is separated from UI via
the Prompter trait for testability.
Structs§
- CliInfo
- Information about an available AI CLI.
- Selection
Result - Result of the full interactive selection flow.
- Terminal
Prompter - Interactive prompter using
dialoguerfor terminal UI.
Enums§
- CliMode
- How the user wants to assign CLIs to branches.
Traits§
- Prompter
- Abstraction over interactive prompts, allowing test doubles.
Functions§
- run_
selection - Runs the full interactive selection flow, skipping prompts when CLI flags provide the necessary data.