Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/api-helper/command/transform/spawnCodeTransform"

Index

Type aliases

MinSpawnLogResult

MinSpawnLogResult: Pick<SpawnLogResult, "cmdString" | "code" | "error">

The bits of SpawnLogResult that spawnToTransform needs.

Functions

spawnCodeTransform

  • Create a code transform by wrapping child processes run in the project directory. If a command fails, no further commands will be run and its error will be returned.

    Parameters

    • commands: SpawnLogCommand[]

      array of commands to execute

    • Default value log: ProgressLog = new LoggingProgressLog("spawnCodeTransform")

      where to log output from commands

    Returns CodeTransform

    result of commands, success or the first failure

spawnToTransform

Generated using TypeDoc