Skip to main content

prompt_yes

Function prompt_yes 

Source
fn prompt_yes(question: &str, yes: bool) -> Result<bool>
Expand description

Ask before pulling. Without a terminal nobody can answer, so refuse rather than read whatever stdin holds.

浙ICP备2023005800号-2 浙公网安备33010902005384号