Polyman Documentation - v3.1.0
    Preparing search index...

    The checkpoints, built on the real CLI through a CliRunner.

    Implements

    Index
    runner: CliRunner
    templateDir: string = TEMPLATE_DIR

    Where the template examples that scaffold removes come from.

    • Runs the CLI. Returns the result, or an error text when it threw.

      Parameters

      • args: string[]
      • cwd: string
      • timeoutMs: number
      • signal: AbortSignal

      Returns Promise<string | RunResult>

    • Why the files are not written yet: missing, empty, or still the template's copy (a worker that wrote nothing must not pass because the template file passes the check). null when every file is written.

      Parameters

      • files: string[]
      • problemDir: string

      Returns Promise<string | null>