summaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-24 07:03:40 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-24 07:03:40 +0800
commit3fa56b997b44caba630a5dbc67687923978c5c7d (patch)
treeb1f62fe31f88fb666e810637df8ca7a60265a3ee /src/utils.rs
parent92f2cdd3dfa378cfcfb9085fedd601b27e499ee7 (diff)
Add command aliases, error handling improvements, and flag aliases
- Add aliases for status command: sign, sheet, sheet.add, drop, drop.cat - Improve error handling with detailed localized messages for prepare, execute, and render phases - Add flag aliases: -L for --lang and -R for --renderer - Implement similar command suggestions using Levenshtein distance - Fix command matching logic to avoid ambiguous prefix issues
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 8c2e306..7d3cb5e 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -3,6 +3,7 @@ pub mod env;
pub mod fs;
pub mod globber;
pub mod input;
+pub mod levenshtein_distance;
pub mod logger;
pub mod push_version;
pub mod socket_addr_helper;