nci 0.2.1

Use the right package manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
use nci::{
    parse::parse_ni,
    runner::{run_cli, DetectOptions},
};

fn main() {
    run_cli(
        |agent, _, ctx| parse_ni(agent, vec!["--frozen-if-present".into()], ctx),
        Some(DetectOptions::new().with_auto_install(true)),
    )
}