omamori 0.8.1

AI Agent's Omamori — protect your system from dangerous commands executed via AI CLI tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::ffi::OsString;
use std::process;

fn main() {
    let args: Vec<OsString> = std::env::args_os().collect();
    match omamori::run(&args) {
        Ok(code) => process::exit(code),
        Err(error) => {
            eprintln!("{error}");
            process::exit(1);
        }
    }
}