#[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); } println!("Welcome to Zagan-Bet Client!"); println!("Type 'help' for available commands."); state.run(); }