penguin web.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.web",
key: "web",
summary: {
en: "Start the Web service and open the UI in a browser once it is ready",
zh: "启动 Web 服务,就绪后用浏览器打开界面",
},
},
],
},
})
export class WebCommand {
@Bind("cli.web") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.web: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.web",
"key": "web",
"summary": {
"en": "Start the Web service and open the UI in a browser once it is ready",
"zh": "启动 Web 服务,就绪后用浏览器打开界面"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()