cmd_lib 2.0.0

Common rust commandline macros and utils, to write shell script like tasks easily
Documentation
1
2
3
4
5
6
7
8
use cmd_lib::{CmdResult, run_cmd};

#[cmd_lib::main]
fn main() -> CmdResult {
    run_cmd!(dd if=/dev/urandom of=/dev/null bs=1M status=progress)?;

    Ok(())
}