pub(crate) fn confirmed( question: &str, yes: bool, interactive: bool, input: impl BufRead, ) -> Result<bool, CommandError>
Whether to go ahead: --yes, else the terminal’s answer to question.
--yes
question