From dddb1118de795e5ff844042f7ddb6bb510a05c3e Mon Sep 17 00:00:00 2001 From: ykdy3951 Date: Thu, 7 Mar 2024 14:08:14 +0900 Subject: [PATCH] Fix formatting in main.rs --- src/main.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f9351ad..86f0e50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use commands::{handle_command, Commands}; use std::env; -const CLLM : &str = r#" +const CLLM: &str = r#" _____ _____ ( ___ )---------------------------------------------( ___ ) | | | | @@ -53,13 +53,16 @@ async fn main() { } } if env::args().collect::>().len() == 1 { - println!("{}\n Welcome to CLLM! Try running `cllm --help` to get started.\n", CLLM); + println!( + "{}\n Welcome to CLLM! Try running `cllm --help` to get started.\n", + CLLM + ); return; } // Parse the command line arguments let cli = Cli::parse(); - + if let Err(_error) = handle_command(cli.commands).await { println!("\n\nError Occurred\n{}", _error.to_string()); }