CliCommandsModule · packages/cli/src/commands/run.ts:335

RunCommand

component

penguin run.

API

@Component({
  contributes: {
    "CliCommandsModule.commands": [
      {
        id: "cli.run",
        key: "run",
        summary: {
          en: "Run a single Task",
          zh: "单次运行一个 Task",
        },
      },
    ],
  },
})
export class RunCommand {
  @Bind("cli.run") command!: CliCommandCode<Messages>;
  setup();
}

Dependencies & Wiring

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

Contributes

{
  "CliCommandsModule.commands": [
    {
      "id": "cli.run",
      "key": "run",
      "summary": {
        "en": "Run a single Task",
        "zh": "单次运行一个 Task"
      }
    }
  ]
}

Target slots: CliCommandsModule.commands

Methods (1)

setup

setup()