penguin plugin.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.plugin",
key: "plugin",
summary: {
en: "Manage the plugins installed on the server (admin)",
zh: "管理服务端安装的插件(管理员)",
},
},
],
},
})
export class PluginCommand {
@Bind("cli.plugin") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.plugin: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.plugin",
"key": "plugin",
"summary": {
"en": "Manage the plugins installed on the server (admin)",
"zh": "管理服务端安装的插件(管理员)"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()