fn prompt( state: &Cheatcodes, prompt_text: &str, input: fn(_: &str) -> Result<String, Error>, ) -> Result<String>