diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-14 17:17:48 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-14 17:17:48 +0800 |
| commit | 0cd19e64d4d255e45233255478ca3a0bd5c439ae (patch) | |
| tree | 6bfa39c10731328edacc6b1c86ae49c85197f7ed /crates | |
| parent | 24c2c8cad43c755cf668ea92a08c0be7fb3b819d (diff) | |
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
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/cli_publisher/src/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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<Vec<String>, 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<std::path::PathBuf, std::io::Error> { 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<std::path::PathBuf, std::io::Error> { get_target_dir("publish") } |
