pub fn confirm_destructive_action_allowed( actions: &[ActionSpec], action: &str, yes: bool, stdin_is_terminal: bool, ) -> Result<()>