summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-09-15 14:50:08 +0100
committerNaz <ndpm13@ch-naseem.com>2025-09-15 15:08:15 +0100
commit8b5a71dd3a490718540a7e9d48da2a220256a628 (patch)
treeb1e029fad2a636dabcf053192ded8542e530b3d1 /src/main.rs
parentc53617755ea9f98c8c8e36901db90e19e827a483 (diff)
✨feat: dirty commit bringing basic functionality
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
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);
+ }
}