AJ ONeal 3d065f4a41
feat(monorel): add --cmd flag, git status guard, and go.mod boundary walk
- findMainPackages: stop descending into child directories that have their
  own go.mod on disk (even if untracked), treating them as independent
  module roots so they are never double-counted with the parent module

- initModuleGroup: skip if the module has uncommitted changes (excluding
  files inside child module directories so a freshly-run --cmd step does
  not block the parent); new helpers hasUncommittedChanges,
  findChildModuleRoots

- monorel init --cmd: scans recursively for direct children of cmd/
  directories that contain package main but have no go.mod yet, runs
  go mod init + tidy for each, and prints a suggested commit at the end;
  new helpers initCmdModules, readModulePath, runPrintIn
2026-03-01 19:13:49 -07:00
..