Skip to main content

Module interactive

Module interactive 

Source
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.
SelectionResult
Result of the full interactive selection flow.
TerminalPrompter
Interactive prompter using dialoguer for 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.