1use crate::api::HtbClient; 2use crate::output; 3 4pub async fn handle(client: &HtbClient, query: &str) -> anyhow::Result<()> { 5 let results = client.search().fetch(query).await?; 6 output::json::print_json(&results); 7 Ok(()) 8}