pub trait AppleScriptRunner: Send + Sync {
// Required method
fn run_osascript(&self, script: &str) -> Result<String, String>;
}Expand description
Trait for running AppleScript commands. Inject a mock in tests.
pub trait AppleScriptRunner: Send + Sync {
// Required method
fn run_osascript(&self, script: &str) -> Result<String, String>;
}Trait for running AppleScript commands. Inject a mock in tests.