Workstation API - v0.6.2
    Preparing search index...

    Function task

    • Declare a task command; arguments are passed directly without a shell.

      Parameters

      • command: string
      • args: readonly string[] = []
      • options: Omit<TaskDefinition, "command" | "args"> = {}

      Returns TaskDefinition

      tasks: { test: task("pnpm", ["test"], { description: "Run tests" }) }