mirror of
https://github.com/eRgo35/ah.git
synced 2026-02-04 21:26:11 +01:00
refactor and choose install
This commit is contained in:
@@ -3,9 +3,7 @@ use std::io::Write;
|
||||
use std::process::{Command, Stdio};
|
||||
|
||||
use crate::file;
|
||||
use crate::packages::{ask_confirmation, get_package_path};
|
||||
|
||||
const PACKAGE_MANAGER: &str = "paru";
|
||||
use crate::packages::{ask_confirmation, get_package_path, PACKAGE_MANAGER};
|
||||
|
||||
pub fn sync(noconfirm: bool) -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("{} {}", "::".bold().green(), "Syncing packages...".bold());
|
||||
|
||||
Reference in New Issue
Block a user