use crate::define_tool;
define_tool!(BTOP, {
command: "btop",
macos: { brew: "btop" },
linux: { apt: "btop", dnf: "btop", pacman: "btop", apk: "btop" },
bsd: { pkg: "btop" },
});
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn btop_registration_shape() {
assert_eq!(BTOP.command, "btop");
let mac = BTOP.macos.expect("must support macOS");
assert_eq!(mac.brew, Some("btop"));
}
}