Skip to main content

run_noninteractive_with_config

Function run_noninteractive_with_config 

Source
pub fn run_noninteractive_with_config<R, W>(
    reader: R,
    out: &mut W,
    config: RunConfig,
) -> Result<()>
where R: BufRead, W: IoWrite,
Expand description

Runs the REPL in non-interactive mode with the given configuration.

ยงErrors

Returns an error if reading from the input or writing to the output fails.