delete uncorrect

This commit is contained in:
pivodevat
2025-06-02 18:00:32 +03:00
parent 5918b2c4b2
commit 51ffa435fb
16 changed files with 666 additions and 76 deletions

16
src/commands/mod.rs Normal file
View File

@ -0,0 +1,16 @@
pub mod install;
pub mod install_all;
pub mod delete;
use std::path::PathBuf;
pub fn get_var_path() -> PathBuf {
let exe_path = std::env::current_exe().expect("Failed to get executable path");
exe_path
.parent()
.unwrap()
.join("../var")
.canonicalize()
.expect("Failed to canonicalize var path")
}