syncable_cli/analyzer/tool_management/installers/mod.rs
1//! # Tool Installation Strategies
2//!
3//! Language-specific installers for development and security tools
4
5pub mod common;
6pub mod go;
7pub mod java;
8pub mod javascript;
9pub mod python;
10pub mod rust;
11
12pub use common::InstallationStrategy;
13
14use crate::error::Result;
15
16/// Common trait for tool installers
17pub trait ToolInstaller {
18 fn install(&self, tool_name: &str) -> Result<()>;
19 fn is_installed(&self, tool_name: &str) -> bool;
20 fn get_install_command(&self, tool_name: &str) -> Option<String>;
21}