Skip to content

Commit 33630c3

Browse files
authored
feat: 交互模式支持 # 命令 (#17)
## Summary - 在交互模式中添加了快捷命令支持 - 输入 `#` 即可查看所有可用命令 - 修复了英文文档页面的链接错误 ## 新增功能 ### 交互模式快捷命令 现在在使用交互模式时,无需退出即可执行以下常用操作: - `#help` - 显示帮助信息 - `#install` - 安装右键菜单 - `#uninstall` - 卸载右键菜单 - `#update` - 检查更新 只需在交互模式下输入命令即可,例如输入 `#install` 就会自动安装右键菜单,完成后可以继续添加备注。 ### 查看命令列表 如果忘记有哪些命令,只需输入 `#` 即可显示完整列表。 ## 问题修复 - 修复了英文文档首页 "Get Started" 按钮链接到中文页面的问题 ## Test plan - [x] 单元测试通过(35 个测试用例全部通过) - [x] 本地验证通过 - [x] CI/CD 流程通过
1 parent f0bb4be commit 33630c3

File tree

10 files changed

+493
-275
lines changed

10 files changed

+493
-275
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ repos:
7777

7878
- id: check-i18n-completeness
7979
name: Check i18n completeness
80-
entry: bash -c 'pybabel update -i messages.pot -d locale --check'
80+
entry: bash -c 'pybabel update -i messages.pot -d locale && python scripts/check_i18n.py locale/*/LC_MESSAGES/messages.po'
8181
language: system
8282
types: [python]
8383
stages: [pre-commit]

docs/en/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ head:
1313
"programmingLanguage": "Python",
1414
"codeRepository": "https://github.com/piratf/windows-folder-remark",
1515
"url": "https://piratf.github.io/windows-folder-remark/en/",
16-
"version": "2.0.6",
16+
"version": "2.0.7",
1717
"license": "MIT",
1818
"offers": {
1919
"@type": "Offer",
@@ -29,7 +29,7 @@ hero:
2929
actions:
3030
- theme: brand
3131
text: Get Started
32-
link: /guide/getting-started
32+
link: /en/guide/getting-started
3333
- theme: alt
3434
text: GitHub
3535
link: https://github.com/piratf/windows-folder-remark

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ head:
1313
"programmingLanguage": "Python",
1414
"codeRepository": "https://github.com/piratf/windows-folder-remark",
1515
"url": "https://piratf.github.io/windows-folder-remark/",
16-
"version": "2.0.6",
16+
"version": "2.0.7",
1717
"license": "MIT",
1818
"offers": {
1919
"@type": "Offer",

locale/zh/LC_MESSAGES/messages.mo

551 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)