shell-candy 0.4.0

🍬 shell-candy wraps std::process::Command, providing a more straightforward mechanism for handling individual log lines.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(doc)]
use crate::ShellTask;

/// A log message emitted by a [`ShellTask`].
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub enum ShellTaskLog {
    /// A log message emitted to `stdout`
    Stdout(String),

    /// A log message emitted to `stderr`
    Stderr(String),
}