pub fn run_with_scope_param(
    rl: &mut Shell<'_>,
    args: Args,
    scoped: bool
) -> Result<()>