Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拓展 chsrc measure 命令功能 #138

Open
happy-game opened this issue Dec 8, 2024 · 0 comments
Open

拓展 chsrc measure 命令功能 #138

happy-game opened this issue Dec 8, 2024 · 0 comments
Labels
新功能 新功能

Comments

@happy-game
Copy link
Collaborator

chsrc measure现有的功能为:

measure <target>          对该目标所有源测速
cesu    <target>          

目前该命令只支持对某个目标的所有源进行测速, 可以将该命令拓展为以下形式:

chsrc measure <target> [mirror1] [mirror2] ...

允许用户指定源并只针对指定源进行测速.

该功能有以下应用场景:

  1. 用户新找到一个源但不确定该源是否可用, 需要先测速再决定是否使用 chsrc set <target> <mirror>
  2. 开发者可以在不修改源码的情况下对 issues中其他用户提供的源测速确定其可用性
  3. 不熟悉chsrc代码但希望对 issues中其他用户提供的源测速并向开发者反馈意见
@ccmywish ccmywish added the 新功能 新功能 label Dec 8, 2024
@ccmywish ccmywish changed the title feat: 拓展 chsrc measure 命令功能 拓展 chsrc measure 命令功能 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
新功能 新功能
Projects
None yet
Development

No branches or pull requests

2 participants