refactor and choose install

This commit is contained in:
2024-08-04 22:53:15 +02:00
parent f2f3997469
commit 085debe43c
10 changed files with 65 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
use colored::Colorize;
use std::process::Command;
const PACKAGE_MANAGER: &str = "paru";
use crate::packages::PACKAGE_MANAGER;
pub fn find(query: Vec<String>) -> Result<(), Box<dyn std::error::Error>> {
println!(