#[macro_use] mod macros; mod repl; mod database; mod connection; use repl::ClientState; fn main() { let mut state = ClientState::new(); if let Some(host) = state.addr.clone() { state.connect_to(&host); } state.run(); }