Skip to main content

ask_yes

Function ask_yes 

Source
fn ask_yes(s: &Session, question: &str) -> Result<bool, String>
Expand description

A question answered Yes or No at the terminal, Yes when Enter alone is pressed; without a terminal to ask at, Yes.