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

Feature: 在 meta 中强制添加更具体的插件用法描述 #2391

Closed
Dobiichi-Origami opened this issue Oct 3, 2023 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@Dobiichi-Origami
Copy link
Contributor

希望能解决的问题

是否可以强制一种统一描述 NB Plugin 输入参数的描述形式,以帮助用户更快上手插件的使用?

描述所需要的功能

可以在 __plugin_meta__ 中添加一个额外的字典,姑且名为 args,其为一个 list ,元素是以字典格式存储的插件形参描述,包括但不限于类型,用途等?
除此之外还可以添加一个 类似于cmd 的字段来描述触发关键词或其它的触发规则,如 shell command 等?

@Dobiichi-Origami Dobiichi-Origami added the enhancement New feature or request label Oct 3, 2023
@yanyongyu
Copy link
Member

Duplicate of #1015

@yanyongyu yanyongyu marked this as a duplicate of #1015 Oct 3, 2023
@yanyongyu yanyongyu closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants