CliCommandsModule · packages/cli/src/commands/chat.ts:1172

ChatCommand

component

penguin chat.

API

@Component({
  contributes: {
    "CliCommandsModule.commands": [
      {
        id: "cli.chat",
        key: "chat",
        summary: {
          en: "Open the interactive REPL",
          zh: "打开交互式 REPL",
        },
      },
    ],
  },
})
export class ChatCommand {
  @Bind("cli.chat") command!: CliCommandCode<Messages>;
  setup();
}

Dependencies & Wiring

Extracted from class decorators
@Bindbinds (1)
command → cli.chat: CliCommandCode<Messages>

Contributes

{
  "CliCommandsModule.commands": [
    {
      "id": "cli.chat",
      "key": "chat",
      "summary": {
        "en": "Open the interactive REPL",
        "zh": "打开交互式 REPL"
      }
    }
  ]
}

Target slots: CliCommandsModule.commands

Methods (1)

setup

setup()