pub fn run_with_custom_args<A, F>(
setup_fn: F,
) -> Result<Context, Box<dyn Error>>Expand description
Runs a simulation with custom cli arguments.
This function allows you to define custom arguments and a setup function
§Parameters
setup_fn: A function that takes a mutable reference to aContext, aBaseArgsstruct, aOption<A>whereAis the custom cli arguments struct
§Errors
Returns an error if argument parsing or the setup function fails