clipmem 0.2.11

macOS clipboard memory backed by SQLite and searchable from OpenClaw
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::process::ExitCode;

fn main() -> ExitCode {
    clipmem::run_cli()
}

#[cfg(test)]
mod tests {
    #[test]
    fn binary_entrypoint_can_exercise_parse_failures_through_library_seam() {
        let error = clipmem::run_from(["clipmem", "get", "42", "--events", "0"])
            .expect_err("invalid binary arguments should surface as an error");

        assert!(error.to_string().contains("between 1 and 250"));
    }
}