B2BZZXWMRR2FYPBMSSQ6WBCOWX5R3JOXSESX4LFUAQF3FOS4APBQC server::new().start()?;
let xdg_dirs = xdg::BaseDirectories::with_prefix("histdb-rs")?;let server = match xdg_dirs.find_cache_file("server.json") {None => server::new(),Some(path) => {let file = std::fs::File::open(path).unwrap();let reader = std::io::BufReader::new(file);
Ok(())
fn command_running(&self) -> Result<RunState, Error> {self.entries.iter().for_each(|(session_id, entry)| {println!("session_id={session_id}, command={command}",session_id = session_id,command = entry.command)});Ok(RunState::Continue)