use std::process::Child;
pub trait PkgManager {
fn install(&mut self, pkg: String) -> Result<Child, std::io::Error>;
fn uninstall(&mut self, pkg: String) -> Result<Child, std::io::Error>;
fn no_confirm(&mut self, set: bool);
fn get_name(&self) -> String;
}