chore: show plugin hooks in plugins info
This commit is contained in:
1 parent
8f7f7ee7dc
commit
32dd052260
2 files changed
+5
-1
No files matched your search
@@ -163,6 +163,9 @@ export function registerPluginsCli(program: Command) {
|
||||
if (plugin.toolNames.length > 0) {
|
||||
lines.push(`Tools: ${plugin.toolNames.join(", ")}`);
|
||||
}
|
||||
if (plugin.hookNames.length > 0) {
|
||||
lines.push(`Hooks: ${plugin.hookNames.join(", ")}`);
|
||||
}
|
||||
if (plugin.gatewayMethods.length > 0) {
|
||||
lines.push(`Gateway methods: ${plugin.gatewayMethods.join(", ")}`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user