Skip to main content

run_with

Function run_with 

Source
pub fn run_with<I, R, W1, W2>(
    args: I,
    stdin: R,
    stdout: &mut W1,
    stderr: &mut W2,
) -> ExitStatus
where I: IntoIterator<Item = OsString>, R: Read, W1: WriteColor + Write, W2: WriteColor,
Expand description

Runs the CLI with custom args and streams (for testing).