diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-09-15 14:50:08 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-09-15 15:08:15 +0100 |
| commit | 8b5a71dd3a490718540a7e9d48da2a220256a628 (patch) | |
| tree | b1e029fad2a636dabcf053192ded8542e530b3d1 /src/main.rs | |
| parent | c53617755ea9f98c8c8e36901db90e19e827a483 (diff) | |
✨feat: dirty commit bringing basic functionality
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..4d78916 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ -fn main() { - println!("Hello, world!"); +use colored::Colorize; + +#[tokio::main] +async fn main() { + if let Err(e) = sbm_rs::run().await { + eprintln!("{} {}", "Error:".red().bold(), e); + std::process::exit(1); + } } |
