cargo-q 0.1.1

A cargo subcommand for running multiple cargo commands in a time
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod cli;
mod executor;
mod parser;
mod routine;

use cli::Cli;
use parser::Parser;

fn main() {
    let cli = Cli::parse();
    let parser = Parser::new();
    let executor = parser.parse(&cli.command_string, cli.parallel, cli.verbose);

    if let Err(e) = executor.execute() {
        eprintln!("Error executing commands: {}", e);
        std::process::exit(1);
    }
}