jarvy 0.5.0

Jarvy is a fast, cross-platform CLI that installs and manages developer tools across macOS and Linux.
//! govulncheck - Go vulnerability checker
//!
//! This tool uses the ToolSpec pattern for declarative installation.

use crate::define_tool;

define_tool!(GOVULNCHECK, {
    command: "govulncheck",
    macos: { brew: "govulncheck" },
    linux: { uniform: "govulncheck" },
    bsd: { pkg: "govulncheck" },
    depends_on: &["go"],
});

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

    #[test]
    fn govulncheck_registration_shape() {
        assert_eq!(GOVULNCHECK.command, "govulncheck");
        let mac = GOVULNCHECK.macos.expect("must support macOS");
        assert_eq!(mac.brew, Some("govulncheck"));
    }
}