pub fn start_with_state(state: SessionState) -> Result<()>
Start the shell with a pre-configured state.