Function contains_sudo_prompt
Source pub fn contains_sudo_prompt(output: &str) -> bool
Expand description
Check if the given output contains a sudo password prompt.
This function performs case-insensitive matching against known
sudo prompt patterns.
§Arguments
output - The command output to check (stdout or stderr)
§Returns
true if a sudo prompt is detected, false otherwise