summaryrefslogtreecommitdiff
path: root/src/bin/jvn.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-12 19:04:12 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-12 19:04:12 +0800
commit72c57380883a1c1cc796dea6d35048ab5bed5f53 (patch)
tree936e04d2ec0f5bae54667beac6bf069208900a80 /src/bin/jvn.rs
parent9d812580557cdc343378816cd65678b8aa75d944 (diff)
Add helpdoc system with interactive viewer
Diffstat (limited to 'src/bin/jvn.rs')
-rw-r--r--src/bin/jvn.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/jvn.rs b/src/bin/jvn.rs
index 3a95a45..0e5a9f6 100644
--- a/src/bin/jvn.rs
+++ b/src/bin/jvn.rs
@@ -11,6 +11,7 @@ use just_enough_vcs_cli::{
processer::jv_cmd_process,
},
debug::verbose_logger::init_verbose_logger,
+ helpdoc::helpdoc_viewer,
},
};
use just_progress::{
@@ -100,7 +101,7 @@ async fn main() {
// Handle help when no arguments provided
if args.len() < 1 && help {
warn!("{}", t!("verbose.no_arguments"));
- eprintln!("{}", md(t!("help")));
+ helpdoc_viewer::display_with_lang("Welcome_To_JVCS", &lang).await;
exit(1);
}