summaryrefslogtreecommitdiff
path: root/rola-cli/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-18 20:56:05 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-18 20:56:05 +0800
commit68daa10abfe3015beca966825d32cf67c9f5d5d7 (patch)
treec28f0470240e7cdc3748cee57ef74353514c47b7 /rola-cli/src/lib.rs
parent669898193bebeadc975881bee496fe0239df76a0 (diff)
feat(bucket): implement bucket initialization and logging infrastructure
Add bucket init logic with directory structure creation and log macros for tracing
Diffstat (limited to 'rola-cli/src/lib.rs')
-rw-r--r--rola-cli/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/rola-cli/src/lib.rs b/rola-cli/src/lib.rs
index 54ff09a..b3587e2 100644
--- a/rola-cli/src/lib.rs
+++ b/rola-cli/src/lib.rs
@@ -2,6 +2,7 @@ use std::process::exit;
use mingling::macros::{gen_program, help};
+pub mod output;
pub mod res;
pub mod tokio_wrapper;
@@ -11,12 +12,14 @@ use bucket_mgr::*;
mod error;
use error::*;
+use crate::output::display::markdown;
+
#[help]
fn handle_error_dispatch_not_found(_err: ErrorDispatcherNotFound) {
let help = locale::helps::Basic::help().trim();
// Print directly to stderr and exit with code 0
- eprintln!("{}", help);
+ eprintln!("{}", markdown(help));
exit(0)
}