Skip to main content

setup_io

Function setup_io 

Source
pub fn setup_io(
    input: Option<String>,
    output: Option<String>,
) -> Result<(InputSource, OutputDestination)>
Expand description

Configure input and output sources for CLI commands.

ยงErrors

Returns an error if either the input or output file cannot be opened.