diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-24 07:03:40 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-24 07:03:40 +0800 |
| commit | 3fa56b997b44caba630a5dbc67687923978c5c7d (patch) | |
| tree | b1f62fe31f88fb666e810637df8ca7a60265a3ee /.cargo | |
| parent | 92f2cdd3dfa378cfcfb9085fedd601b27e499ee7 (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 '.cargo')
| -rw-r--r-- | .cargo/registry.toml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.cargo/registry.toml b/.cargo/registry.toml index 3ebfa17..a957b9b 100644 --- a/.cargo/registry.toml +++ b/.cargo/registry.toml @@ -9,6 +9,26 @@ # node = "name" # type = "your_command::JVUnknownCommand" +[cmd.sign] +node = "sign" +type = "cmds::status::JVStatusCommand" + +[cmd.sheet] +node = "sheet" +type = "cmds::status::JVStatusCommand" + +[cmd.sheet_add] +node = "sheet.add" +type = "cmds::status::JVStatusCommand" + +[cmd.drop] +node = "drop" +type = "cmds::status::JVStatusCommand" + +[cmd.drop_cat] +node = "drop.cat" +type = "cmds::status::JVStatusCommand" + ################# ### Renderers ### ################# |
