jarvy 0.1.1

Jarvy is a fast, cross-platform CLI that installs and manages developer tools across macOS and Linux.
Documentation
//! zoxide - smarter cd command that learns your navigation patterns
//!
//! This tool uses the ToolSpec pattern for declarative installation.

use crate::define_tool;

define_tool!(ZOXIDE, {
    command: "zoxide",
    macos: { brew: "zoxide" },
    linux: { uniform: "zoxide" },
    windows: { winget: "ajeetdsouza.zoxide" },
    bsd: { pkg: "zoxide" },
    default_hook_shell_init: ("zoxide", "init"),
});

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

    #[test]
    fn ensure_zoxide_no_panic() {
        let res = ensure("");
        assert!(res.is_ok() || res.is_err());
    }
}