use crate::define_tool;
define_tool!(ARGO, {
command: "argo",
macos: { brew: "argo" },
linux: { brew: "argo" },
depends_on_one_of: &["kubectl"],
category: "workflow",
});
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn argo_registration_shape() {
assert_eq!(ARGO.command, "argo");
assert_eq!(ARGO.category, Some("workflow"));
let mac = ARGO.macos.expect("argo must support macOS");
assert_eq!(mac.brew, Some("argo"));
let linux = ARGO.linux.expect("argo must support Linux");
assert_eq!(linux.brew, Some("argo"));
assert!(ARGO.windows.is_none(), "no first-party winget manifest");
}
}