pub trait DependencyChecker {
// Required method
fn check_command(&self, cmd: &str, args: &[&str]) -> bool;
}Expand description
Trait for checking command availability.
Enables mocking in tests to verify both success and failure paths.
pub trait DependencyChecker {
// Required method
fn check_command(&self, cmd: &str, args: &[&str]) -> bool;
}Trait for checking command availability.
Enables mocking in tests to verify both success and failure paths.