Execute the scan subcommand.
scan
the parsed scan command
the stdout sink
injectable boundaries (runScan); omit to use the real engine
the process exit code (0 on a successful scan or a clean rate-limit stop, 2 when no repos were specified)
await runScanCommand(cmd, console.log) // => 0 Copy
await runScanCommand(cmd, console.log) // => 0
Execute the
scansubcommand.