Skip to content

refactor(WeaselDeployer): support dict management in command lines - #1955

Merged
fxliang merged 2 commits into
rime:masterfrom
fxliang:refactor-deployer
Oct 19, 2026
Merged

fxliang merged 2 commits into
rime:masterfrom
fxliang:refactor-deployer

Conversation

@fxliang

@fxliang fxliang commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

parameters:

/dict list to list user dictionaries
/dict backup to backup a user dictionary
/dict restore to restore a user dictionary snapshot
/dict export to export a user dictionary
/dict import to import a user dictionary

refactor WeaselDeployer as a console executable for print info in command lines

close #1916

parameters:

/dict --list    to list user dictionaries
/dict --backup <dict>    to backup a user dictionary
/dict --restore <file>   to restore a user dictionary snapshot
/dict --export <dict>    to export a user dictionary
/dict --import <dict> <file>   to import a user dictionary

refactor WeaselDeployer as a console executable for print info in command lines
@lotem

lotem commented Oct 18, 2026

Copy link
Copy Markdown
Member

小小意見:

別混用兩種選項格式 /xyz、--xyz。觀察到 /dict 之後必接二級命令關鍵詞,第二個參數可以免去引導符號、直接寫命令 list。

Drop the '--' prefix from /dict subcommands so they are consistent
with the '/xyz' style used by the other options.
@fxliang
fxliang merged commit 2c58727 into rime:master Oct 19, 2026
3 checks passed
kaiye2343 pushed a commit to kaiye2343/weasel that referenced this pull request Oct 21, 2026
…ime#1955)

* refactor(WeaselDeployer): support dict management in command lines

parameters:

/dict list    to list user dictionaries
/dict backup <dict>    to backup a user dictionary
/dict restore <file>   to restore a user dictionary snapshot
/dict export <dict>    to export a user dictionary
/dict import <dict> <file>   to import a user dictionary

refactor WeaselDeployer as a console executable for print info in command lines

(cherry picked from commit 2c58727)
S123-ts pushed a commit to S123-ts/weasel that referenced this pull request Oct 27, 2026
…ime#1955)

* refactor(WeaselDeployer): support dict management in command lines

parameters:

/dict list    to list user dictionaries
/dict backup <dict>    to backup a user dictionary
/dict restore <file>   to restore a user dictionary snapshot
/dict export <dict>    to export a user dictionary
/dict import <dict> <file>   to import a user dictionary

refactor WeaselDeployer as a console executable for print info in command lines
lxl66566 pushed a commit to lxl66566/weasel that referenced this pull request Nov 7, 2026
…ime#1955)

* refactor(WeaselDeployer): support dict management in command lines

parameters:

/dict list    to list user dictionaries
/dict backup <dict>    to backup a user dictionary
/dict restore <file>   to restore a user dictionary snapshot
/dict export <dict>    to export a user dictionary
/dict import <dict> <file>   to import a user dictionary

refactor WeaselDeployer as a console executable for print info in command lines

(cherry picked from commit 2c58727)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WeaselServer 結束後會被 TSF 客戶端或 WER 自動拉起,與離線操作 userdb 的工具競逐同一 LevelDB

2 participants