Skip to main content

confirmed

Function confirmed 

Source
pub(crate) fn confirmed(
    question: &str,
    yes: bool,
    interactive: bool,
    input: impl BufRead,
) -> Result<bool, CommandError>
Expand description

Whether to go ahead: --yes, else the terminal’s answer to question.