pub async fn run_patterns(domain: &str, url: &str, dim: &str) -> Result<()>
Run the patterns command.