pub trait Prompt: Send { // Required method fn ask(&mut self, prompt: &str) -> Result<Option<String>>; }
Input reader trait so tests can feed confirmation text without touching real stdin.
Emit a prompt line and read the user’s answer. Returns Ok(None) when stdin is closed (EOF).
Ok(None)