issue_tree
    Preparing search index...

    Function runAutoCommand

    • Execute the auto subcommand: walk cmd.rootDir, detect every GitHub repo in any recognized project manifest, and run the same scan → render orchestration all performs — but with the repo list sourced from filesystem discovery instead of --repo flags.

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

      Exit semantics:

      • 2 when discovery finds nothing (render is skipped).
      • The scan exit code when a persisted scan fails (disk path only; render skipped).
      • Otherwise the render exit code (0 on success, 1 on a render error).

      Parameters

      • cmd: AutoCommand

        the parsed auto command

      • log: Logger

        the stdout sink

      • deps: RunAutoCommandDeps = {}

        injectable boundaries (discoverRepos, runScan); omit to use defaults

      Returns Promise<number>

      the process exit code

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

      runAllCommand