penguin server stop.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.server.stop",
key: "server.stop",
summary: {
en: "Stop the server running on this data root and report the outcome as JSON",
zh: "停止本数据根目录上运行的服务,并以 JSON 报告结果",
},
},
],
},
})
export class ServerStopCommand {
@Bind("cli.server.stop") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.server.stop: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.server.stop",
"key": "server.stop",
"summary": {
"en": "Stop the server running on this data root and report the outcome as JSON",
"zh": "停止本数据根目录上运行的服务,并以 JSON 报告结果"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()