monarch-rs 0.1.0

Advanced Git Management Suite for handling multiple repositories concurrently
Documentation
//! Integration with Difftastic for syntax-aware diffs

/// Options for Difftastic integration
pub struct DifftasticOptions {
    /// Path to difftastic executable
    pub executable_path: Option<String>,
    /// Display mode (side-by-side, inline, etc.)
    pub display_mode: DisplayMode,
    /// Background color mode
    pub background_mode: BackgroundMode,
    /// Whether to display line numbers
    pub display_line_numbers: bool,
    /// Optional theme to use
    pub theme: Option<String>,
}

/// Difftastic display modes
pub enum DisplayMode {
    /// Side-by-side display
    SideBySide,
    /// Inline display
    Inline,
    /// Words display
    Words,
}

/// Background color modes
pub enum BackgroundMode {
    /// Dark background
    Dark,
    /// Light background
    Light,
    /// Auto-detect
    Auto,
}

/// Runs a diff between two files using Difftastic
pub fn run_diff(file_a: &str, file_b: &str, options: &DifftasticOptions) -> anyhow::Result<String> {
    todo!("Implement Difftastic integration")
}

/// Checks if Difftastic is installed
pub fn is_difftastic_available() -> bool {
    todo!("Implement Difftastic availability check")
}