mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
docs(data-source): 更新插件安装函数的参数文档说明
修改 StoreManager 类中安装插件函数的文档字符串,更新参数列表说 明。将原有的 github_url、module_path、is_dir 参数说明替换为 plugin_info 和 source 参数说明,保持文档与实际函数签名一致。
This commit is contained in:
parent
4b8013d2d6
commit
fc5b12bb6f
@ -263,10 +263,9 @@ class StoreManager:
|
||||
"""安装插件
|
||||
|
||||
参数:
|
||||
github_url: 仓库地址
|
||||
module_path: 模块路径
|
||||
is_dir: 是否是文件夹
|
||||
plugin_info: 插件信息
|
||||
is_external: 是否是外部仓库
|
||||
source: 源
|
||||
"""
|
||||
repo_type = RepoType.GITHUB if is_external else None
|
||||
if source == "ali":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user