use crate::define_tool;
define_tool!(TAILSCALE, {
command: "tailscale",
macos: { brew: "tailscale" },
linux: { brew: "tailscale" },
windows: { winget: "Tailscale.Tailscale" },
category: "networking",
});
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn tailscale_registration_shape() {
assert_eq!(TAILSCALE.command, "tailscale");
let mac = TAILSCALE.macos.expect("must support macOS");
assert_eq!(mac.brew, Some("tailscale"));
let lin = TAILSCALE.linux.expect("must support Linux");
assert_eq!(lin.brew, Some("tailscale"));
let win = TAILSCALE.windows.expect("must support Windows");
assert_eq!(win.winget, Some("Tailscale.Tailscale"));
}
}