1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Error;

pub mod devbox;
pub mod homebrew;
pub mod nix;
pub mod pkgx;

pub trait PackageManager {
    fn install(&self, name: &str) -> Result<(), Error>;
    fn uninstall(&self, name: &str) -> Result<(), Error>;
    fn setup(&self) -> Result<(), Error>;
}