penguin schedule, as a contribution to the CLI's CliCommandsModule.commands from this
package (the server resource API's client); the CLI's boot collects it.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.schedule",
key: "schedule",
summary: {
en: "Manage scheduled tasks",
zh: "管理定时任务",
},
},
],
},
})
export class ScheduleCommand {
@Bind("cli.schedule") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.schedule: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.schedule",
"key": "schedule",
"summary": {
"en": "Manage scheduled tasks",
"zh": "管理定时任务"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()