From 0cd19e64d4d255e45233255478ca3a0bd5c439ae Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 14 Oct 2025 17:17:48 +0800 Subject: feat: add internationalization support and new command-line tools - Add locale support with English and Chinese translations - Introduce new jv and jvv command-line tools - Replace jvc.rs with improved command structure - Add utility modules for language selection and markdown coloring - Update configuration and dependencies --- crates/cli_publisher/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/cli_publisher') diff --git a/crates/cli_publisher/src/main.rs b/crates/cli_publisher/src/main.rs index 9e0c5e8..7e6555a 100644 --- a/crates/cli_publisher/src/main.rs +++ b/crates/cli_publisher/src/main.rs @@ -125,15 +125,15 @@ fn get_array(section: &str, array_name: &str) -> Result, std::io::Er } /// Get the target directory of the current project -// By reading the `build.target-dir` configuration item in the `.cargo/config.toml` file -// Returns the complete path relative to the current directory +/// By reading the `build.target-dir` configuration item in the `.cargo/config.toml` file +/// Returns the complete path relative to the current directory fn current_target_dir() -> Result { get_target_dir("build") } /// Get the publish directory of the current project -// By reading the `publish.target-dir` configuration item in the `.cargo/config.toml` file -// Returns the complete path relative to the current directory +/// By reading the `publish.target-dir` configuration item in the `.cargo/config.toml` file +/// Returns the complete path relative to the current directory fn current_publish_dir() -> Result { get_target_dir("publish") } -- cgit