penguin session.
API
@Component({
contributes: {
"CliCommandsModule.commands": [
{
id: "cli.session",
key: "session",
summary: {
en: "Work with the project's sessions: list them, read a session's history, send it a message, rename it",
zh: "管理 Project 的会话:列出会话、查看历史、发送消息、重命名",
},
},
],
},
})
export class SessionCommand {
@Bind("cli.session") command!: CliCommandCode<Messages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → cli.session: CliCommandCode<Messages>Contributes
{
"CliCommandsModule.commands": [
{
"id": "cli.session",
"key": "session",
"summary": {
"en": "Work with the project's sessions: list them, read a session's history, send it a message, rename it",
"zh": "管理 Project 的会话:列出会话、查看历史、发送消息、重命名"
}
}
]
}Target slots: CliCommandsModule.commands
Methods (1)
setup
setup()