yas icon indicating copy to clipboard operation
yas copied to clipboard

refactor: bump clap to 4 and refactor with derive

Open xr1s opened this issue 2 years ago • 2 comments

yas-lock 不再维护,准备在 yas 主线里加 lock 的功能,不知道 owner 对此有什么意见或建议。

目前还在研读源码,先提一个 PR 试试。不过最近临近节前,工作生活上比较繁忙,进度可能会比较缓慢。

xr1s avatar Jan 23 '24 14:01 xr1s

我不推荐用derive,因为后续考虑星铁跟原神都放到yas里面,有些共享的配置跟单独的配置用builder模式更方便 加lock当然欢迎

wormtql avatar Jan 24 '24 12:01 wormtql

如果是考虑共享配置的话,derive 也可以提取公共的选项,参考刚推送的修改

它可以直接 flatten 的。

xr1s avatar Jan 25 '24 13:01 xr1s