Conversation
- 新增 `cmd` 命令组,用于管理和执行用户自定义命令
- 支持 `$1` / `{1}` 形式的参数占位符
- 支持为命令配置默认工作目录(CWD)
- 在运行保存的命令前,通过正则表达式检测是否包含危险操作(如 rm -rf、强制推送等)。 - 检测到危险命令时会显示红色警告,并需要用户手动确认后才继续执行,防止误操作。
- 新增 get 子命令,用于获取常用开发资源(如 VSCode、Python) - 支持通过 -d 选项下载安装包,并显示进度条 - 支持通过 -l 选项列出所有可用资源 - 默认行为为打开资源的官方网站 - 新增通用下载工具函数,提供带进度条的文件下载功能
移除动态导入直接调用 checkAuth 函数
- 移除独立的 UploadTab,将上传区域整合到 FileList 组件中 - 新增 UploadGroups 组件,支持按路径分组显示上传任务
BREAKING CHANGE: 移除配置复用与持久化相关命令行选项(--save, --last, --show-config)。 如需持久化 lansend 命名,可使用 cmd 子命令实现。
- 将 CLI 入口函数从 `cli` 重命名为 `main`,以提升语义清晰度 - 在 `setup.cfg` 中为控制台脚本添加别名 `byk`,提供更短的命令调用方式 - 删除 `.gitattributes` 中不必要的 linguist-generated 覆盖规则
- 将 `-pw/--password` 选项重命名为 `-ap/--ask-password` 以更准确反映其交互式功能 - 将 `-un-d/--un-download` 重命名为 `-nd/--hide-download`,`-un-up/--un-upload` 重命名为 `-nu/--disable-upload`,使用更清晰的命名 - 新增完整的 LANSend 功能文档,包含基本用法、参数说明和常见示例
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.