@karmaniverous/stan
    Preparing search index...

    Function runSelected

    • High‑level runner for stan run.

      Responsibilities:

      • Preflight docs/version (best‑effort).
      • Ensure output/diff directories.
      • Print the run plan.
      • Execute selected scripts (in the chosen mode).
      • Optionally create regular and diff archives (combine/keep behaviors).

      Parameters

      • cwd: string

        Repo root for execution.

      • config: ContextConfig

        Resolved configuration.

      • selection: Selection = null

        Explicit list of script keys (or null to run all).

      • mode: ExecutionMode = 'concurrent'

        Execution mode (concurrent by default).

      • OptionalbehaviorMaybe: RunBehavior

        Archive/combine/keep flags.

      Returns Promise<string[]>

      Absolute paths to created artifacts (script outputs and/or archives).