add pacdef clean

This commit is contained in:
Dr. Matthias Ratajczak
2023-01-05 15:53:50 +01:00
parent 7652e9a6be
commit c4849b1f4c
6 changed files with 34 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use pacdef::{args, Group, Pacdef};
fn main() -> Result<()> {
let args = args::get_args();
let groups = Group::load_from_dir();
let groups = Group::load_from_dir()?;
let pacdef = Pacdef::new(args, groups);
pacdef.run_action_from_arg().context("running action")
}