Split polecat.go (1635 lines) into: - polecat.go (1359 lines): cobra commands and handlers - polecat_helpers.go (260 lines): shared helper functions Extracted: - resolvePolecatTargets(): shared list-building logic from remove/nuke - checkPolecatSafety(): safety check logic for destructive operations - displaySafetyCheckBlocked(): blocked polecat display - displayDryRunSafetyCheck(): dry-run safety status display Reduces duplication between runPolecatRemove and runPolecatNuke. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
8.8 KiB
8.8 KiB