move first message to be displayed after arg parse

This commit is contained in:
b1ek 2024-04-12 22:56:34 +10:00
parent 621f54316a
commit 00b2cd06c7
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 2 deletions

View File

@ -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();