commandcrafter 0.4.2

This crate is used to execute shell commands using rust convenience
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![allow(unused_imports)]
use commandcrafter::{execute::Execute, filestore::Filestore};

fn main() {
    match Execute::exe("lk", &["--all"]) {
        Ok(_) => println!("Command executed successfully."),
        Err(e) => eprintln!("Error executing command: {}", e),
    }

    let _ = Execute::exe("pacman", &["-Qu", "--color=always"]);
    let _ = Execute::exe("yay", &["-Qu", "--color=always"]);
}