issue_tree
    Preparing search index...

    Function runAutoCommand

    • Execute the auto subcommand: walk cmd.rootDir, detect every GitHub repo in any recognized project manifest, forward the deduped list to runScanCommand, and on a clean scan dispatch to runRender — exactly the same scan → render orchestration all performs, but with the repo list sourced from filesystem discovery instead of --repo flags.

      Exit semantics:

      • 2 when discovery finds nothing (render is skipped).
      • The runScanCommand exit code when that is non-zero (render is skipped).
      • Otherwise the runRender 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