issue_tree
    Preparing search index...

    Function runAllCommand

    • Execute the all subcommand: scan the named repos and render, in one shot.

      Persistence: with no --cache (cacheExplicit false) the scan runs cache-free in memory and writes nothing to disk; with --cache it persists to cachePath and resumes like scan + render.

      Parameters

      • cmd: AllCommand

        the parsed all command

      • log: Logger

        the stdout/stderr sink

      • deps: RunScanCommandDeps = {}

        injectable scan engine (tests stub it); omit for the real one

      Returns Promise<number>

      the process exit code (2 with no repos, the scan code on a failed persisted scan, otherwise the render code)

      await runAllCommand(cmd, console.log)  // => 0
      

      scanRenderInMemory