Skip to main content

run_with_session

Function run_with_session 

Source
pub fn run_with_session<I, S>(
    args: I,
    session: &mut LoadSession,
) -> Result<i32, CliError>
where I: IntoIterator<Item = S>, S: Into<OsString>,
Expand description

Runs the command entry API with an injected loader session.