pkgrisk 0.1.0

5-second package health and risk analysis for npm, PyPI and crates.io dependencies
1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;

#[derive(Parser, Debug)]
pub struct CompareArgs {
    /// Packages to compare
    #[arg(required = true)]
    pub packages: Vec<String>,
}

pub async fn run(args: CompareArgs) -> anyhow::Result<()> {
    println!("Compare command running for: {:?}", args.packages);
    Ok(())
}