mesh-llm-cli 0.75.0

Reusable CLI support surface for mesh-llm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub fn single_quote(value: &str) -> String {
    format!("'{}'", value.replace('\'', "'\"'\"'"))
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn single_quote_wraps_and_escapes_embedded_quotes() {
        assert_eq!(single_quote("Qwen 3.6 27B"), "'Qwen 3.6 27B'");
        assert_eq!(single_quote("Qwen's model"), "'Qwen'\"'\"'s model'");
    }
}