max
7533fed55e
refactor(cmd): extract polecat helpers to reduce duplication
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>
2026-01-10 00:25:59 -08:00
..
2026-01-07 21:41:51 -08:00
2026-01-07 21:41:51 -08:00
2026-01-01 18:58:56 -08:00
2026-01-01 18:58:56 -08:00
2026-01-05 00:42:24 -08:00
2026-01-03 16:11:55 -08:00
2026-01-06 13:00:46 -08:00
2026-01-06 22:52:32 -08:00
2026-01-08 20:25:01 -08:00
2026-01-03 16:11:55 -08:00
2026-01-03 16:11:55 -08:00
2026-01-01 18:53:39 -08:00
2026-01-05 06:58:46 +01:00
2026-01-07 20:35:06 -08:00
2026-01-05 00:21:42 -08:00
2026-01-07 19:17:28 -08:00
2026-01-09 00:35:15 -08:00
2026-01-08 20:25:01 -08:00
2026-01-09 21:52:30 -08:00
2026-01-08 12:36:54 -05:00
2026-01-09 21:24:23 -08:00
2026-01-09 02:22:36 +13:00
2026-01-09 02:22:20 +13:00
2026-01-09 02:22:20 +13:00
2026-01-03 21:37:05 +01:00
2026-01-04 15:30:57 -05:00
2026-01-03 11:49:42 -08:00
2026-01-03 16:23:44 -08:00
2026-01-09 21:52:30 -08:00
2026-01-08 20:25:01 -08:00
2026-01-05 00:42:24 -08:00
2026-01-01 18:54:36 -08:00
2026-01-09 21:52:30 -08:00
2026-01-03 21:37:05 +01:00
2026-01-06 12:59:37 -08:00
2026-01-09 22:11:02 -08:00
2026-01-04 00:17:37 -08:00
2026-01-08 20:25:01 -08:00
2026-01-03 16:11:55 -08:00
2026-01-09 23:24:28 -08:00
2026-01-09 14:11:53 -08:00
2026-01-09 18:13:11 -08:00
2026-01-09 22:46:06 -08:00
2026-01-04 19:46:27 -08:00
2026-01-08 12:36:54 -05:00
2026-01-08 22:10:40 +13:00
2026-01-09 18:14:17 -08:00
2026-01-09 13:30:11 -08:00
2026-01-07 20:45:58 -08:00
2026-01-09 13:30:11 -08:00
2026-01-03 16:11:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-02 00:22:17 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-06 22:32:35 -08:00
2026-01-03 21:00:00 -08:00
2026-01-03 21:00:00 -08:00
2026-01-05 19:39:57 -08:00
2026-01-01 18:58:56 -08:00
2026-01-03 16:11:55 -08:00
2026-01-09 22:10:09 -08:00
2026-01-03 16:11:55 -08:00
2026-01-09 00:41:35 -08:00
2026-01-02 17:18:27 -08:00
2026-01-02 17:18:27 -08:00
2026-01-09 22:08:12 -08:00
2026-01-09 00:41:35 -08:00
2026-01-09 00:41:35 -08:00
2026-01-01 18:54:36 -08:00
2026-01-05 00:42:24 -08:00
2026-01-03 16:11:55 -08:00
2026-01-01 19:16:06 -08:00
2026-01-04 15:16:56 -08:00
2026-01-03 21:37:05 +01:00
2026-01-03 16:11:55 -08:00
2026-01-08 22:10:40 +13:00
2026-01-10 00:25:59 -08:00
2026-01-08 12:36:54 -05:00
2026-01-10 00:25:59 -08:00
2026-01-03 21:53:30 -08:00
2026-01-08 22:56:37 -08:00
2026-01-02 18:25:15 -08:00
2026-01-01 19:11:04 -08:00
2026-01-06 20:40:40 -08:00
2026-01-08 20:25:01 -08:00
2026-01-06 20:43:27 -08:00
2026-01-06 22:50:21 -08:00
2026-01-06 20:41:01 -08:00
2026-01-08 20:25:01 -08:00
2026-01-09 22:00:43 -08:00
2026-01-09 21:52:09 -08:00
2026-01-09 21:52:30 -08:00
2026-01-09 18:14:17 -08:00
2026-01-08 22:10:40 +13:00
2026-01-08 20:25:01 -08:00
2026-01-09 18:13:11 -08:00
2026-01-09 18:13:11 -08:00
2026-01-09 22:00:43 -08:00
2026-01-06 19:10:43 -08:00
2026-01-06 22:54:25 -08:00
2026-01-05 00:42:24 -08:00
2026-01-06 23:37:39 -08:00
2026-01-06 22:32:35 -08:00
2026-01-08 12:36:54 -05:00
2026-01-01 16:01:28 -08:00
2026-01-08 12:36:54 -05:00
2026-01-09 22:46:06 -08:00
2026-01-03 14:33:24 -08:00
2026-01-07 00:06:55 -08:00
2026-01-08 20:25:01 -08:00
2026-01-06 20:32:02 -08:00
2026-01-09 22:00:43 -08:00
2026-01-09 18:14:17 -08:00
2026-01-09 21:56:53 -08:00
2026-01-09 22:00:43 -08:00
2026-01-06 12:59:49 -08:00