concurrent_shell_commands 0.4.1

runs commands concurrently and display their name and output, with configurable filtering of output
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Errors that originating in the application part
/// that should be printed to the user
/// to help them use this app correctly.
#[derive(Debug, Eq, PartialEq)]
pub enum AppError {
    UnknownFlag(String),
}

impl std::fmt::Display for AppError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            AppError::UnknownFlag(flag) => {
                write!(f, "Unknown flag: {flag}")
            }
        }
    }
}