confirm_with_prompt

Function confirm_with_prompt 

Source
pub fn confirm_with_prompt(prompt: &str) -> Result<bool>
Expand description

Common confimation prompt (y/n) which maps

  • y -> true
  • n -> false