feat: support specific framework & plugin in scanner #158
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.
此 PR 旨在允许通过 scanner 扫描时指定框架和插件列表来启动应用:
deepmerge
的方式覆盖掉用户在应用中声明的插件配置这样设计的目的是给工具链更大的灵活性,比如用户可以无需每次都要显式指定框架,工具链在调用 scanner 构建期指定框架使得应用可以部署到不同的环境中,比如 #111 中提到的需求可以使用此泛用性更好的方式来优雅解决