Compare commits

..

No commits in common. "95ee2a572a61a86e88d0a1c4795a282946ef3213" and "b06497e53be91ca141e5da487609fc1fce8dbf15" have entirely different histories.

2 changed files with 0 additions and 11 deletions

View File

@ -56,17 +56,6 @@ fn main() -> Result<(), Error> {
}
println!("Done.");
}
"fetch_by_id" => {
let idstr = args
.next()
.ok_or::<Error>(ChorusError::General("ID argument missing".to_owned()).into())?;
let id: Id = Id::read_hex(idstr.as_bytes())?;
if let Some(event) = store.get_event_by_id(id)? {
println!("{event}");
} else {
println!("Not found.");
}
}
_ => {
return Err(ChorusError::General("Unknown command.".to_owned()).into());
}