shep 0.13.0

The shep binary: a process manager that keeps a flock of long-running processes alive on macOS, Linux and Windows, with logs, watch and cron restarts, and webhook alerts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The fixture every dog verb's tests share.

use crate::cli::Format;
use crate::output::Streams;

/// A dog verb's streams under `--format table`, bare style; a test reading
/// a JSON field sets `fmt` itself.
pub(super) fn streams<'a>(out: &'a mut Vec<u8>, err: &'a mut Vec<u8>) -> Streams<'a> {
    Streams {
        out,
        err,
        style: crate::style::Presentation::BARE,
        fmt: Format::Table,
    }
}