白宦成

Results 68 comments of 白宦成

暂时受限于 Web 微信协议,无法实现at 。但可以在回复中添加相关的人的昵称

需要关注的链接:https://developers.weixin.qq.com/community/develop/doc/00068cf1df8480259f080753e51000

新版重构后实现

@MakerGYT 有点意思,可以写篇文章分享,投稿到 [email protected]

目前已修改为 Regex 的模式。如果提交 PR, 需要注意。

配置文件形态 ``` { "config": { "start": "123-12-2", "end": "123-12-1", "token": "xxx", "top": 3, "star":123 }, "targets": [ { "socialRule": "xxx", "owner": "lctt", "repository": "grank" },{ "socialRule": "xxx", "owner": "lctt", "repository":...

实现思路 1. 创建一个新的命令(all 或 batch),新的命令接受一个文件作为参数(可以考虑传入文件或文件路径,即 File arguments 或 File Path arguments,相关文档http://click.palletsprojects.com/en/7.x/arguments/#file-arguments) 2. 解析 JSON,提取 JSON 中的 config 来生成 config 实例。 3. 对 targets 进行循环,循环时修改 config 实例中的 social.rule 为targets 中具体的。 4....