penguin version.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.version",
key: "version",
summary: {
en: "Show which build is running",
zh: "显示当前运行的是哪个构建",
},
},
],
},
})
export class VersionCommand {
@Bind("cli.version") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.version: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.version",
"key": "version",
"summary": {
"en": "Show which build is running",
"zh": "显示当前运行的是哪个构建"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()