concurrent_shell_commands 0.3.1

runs commands concurrently and display their name and output, with configurable filtering of output
Documentation
mod binary;

use binary::cli::Command;
use binary::{AppError, cli, cmd};
use colored::Colorize;
use std::env;
use std::process::ExitCode;

fn main() -> ExitCode {
    match inner() {
        Ok(exit_code) => exit_code,
        Err(err) => {
            eprintln!("{}", err.to_string().red());
            ExitCode::FAILURE
        }
    }
}

fn inner() -> Result<ExitCode, AppError> {
    Ok(match cli::parse(env::args().skip(1))? {
        Command::Help => cmd::help(),
        Command::Run(args) => conc::run(args),
        Command::Version => cmd::version(),
    })
}