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

命令行可以配置 添加 删除 映射规则吗 #1169

Open
zhper opened this issue Nov 10, 2024 · 1 comment
Open

命令行可以配置 添加 删除 映射规则吗 #1169

zhper opened this issue Nov 10, 2024 · 1 comment

Comments

@zhper
Copy link

zhper commented Nov 10, 2024

目前是不是只能通过 w2 add [filePath] 来添加文件里的规则,我通过怎么样的命令,才能实现给这个规则 disable 呢,或者切换到其他的规则去,或者能不能有这样的命令,比如,w2 add rule "xxxx xxxx" 增加规则,w2 remove rule "xxxx xxxxx" 删除规则

@avwo
Copy link
Owner

avwo commented Nov 15, 2024

Whistle 暂时不会支持这么细的命令行操作,你可以自定义插件,用插件来设置规则,再通过命令行操作插件的方式实现

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

No branches or pull requests

2 participants