jarvy 0.4.0

Jarvy is a fast, cross-platform CLI that installs and manages developer tools across macOS and Linux.
Documentation
//! omnictl - Sidero Omni cluster management CLI
//!
//! omnictl is the CLI for Sidero Omni, a SaaS platform for managing
//! Talos Linux Kubernetes clusters across bare metal, cloud, and edge.
//!
//! This tool uses the ToolSpec pattern for declarative installation.

use crate::define_tool;

define_tool!(OMNICTL, {
    command: "omnictl",
    macos: { brew: "siderolabs/tap/omnictl" },
    linux: { brew: "siderolabs/tap/omnictl" },
    windows: { winget: "Sidero.omnictl" },
});

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

    #[test]
    fn omnictl_registration_shape() {
        assert_eq!(OMNICTL.command, "omnictl");
        let mac = OMNICTL.macos.expect("must support macOS");
        assert_eq!(mac.brew, Some("siderolabs/tap/omnictl"));
        let win = OMNICTL.windows.expect("must support Windows");
        assert_eq!(win.winget, Some("Sidero.omnictl"));
    }
}