From 00b2cd06c7f197f8c3aef423a9cf0f317530ff93 Mon Sep 17 00:00:00 2001 From: b1ek Date: Fri, 12 Apr 2024 22:56:34 +1000 Subject: [PATCH] move first message to be displayed after arg parse --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 999f6ee..868d569 100644 --- a/src/main.rs +++ b/src/main.rs @@ -155,11 +155,11 @@ struct Args { async fn main() { femme::start(); - println!("{GREEN}Contacting DuckDuckGo chat AI...{RESET}"); - let args = Args::parse(); let query = args.query.join(" "); + println!("{GREEN}Contacting DuckDuckGo chat AI...{RESET}"); + let mut cache = Cache::load().unwrap(); let cli = Client::new();