penguin exec.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.exec",
key: "exec",
summary: {
en: "Run a plugin command on the server by its dotted id (`penguin exec ls` lists what the plugins contribute)",
zh: "按点分 id 在服务端执行插件命令(`penguin exec ls` 列出各插件贡献的命令)",
},
},
],
},
})
export class ExecCommand {
@Bind("cli.exec") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.exec: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.exec",
"key": "exec",
"summary": {
"en": "Run a plugin command on the server by its dotted id (`penguin exec ls` lists what the plugins contribute)",
"zh": "按点分 id 在服务端执行插件命令(`penguin exec ls` 列出各插件贡献的命令)"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()