Steve Yegge
637f38edca
Remove os.Exit() from library code (gt-fm75)
...
Refactor to return errors instead of calling os.Exit() directly:
- Add SilentExitError type for commands that signal status via exit code
- Update mail.go runMailPeek() and runMailCheck() to return errors
- Change Execute() to return int exit code instead of calling os.Exit()
- Move os.Exit() call to main() where it belongs
This improves testability, enables graceful shutdown, and follows Go
conventions for library code.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-30 10:54:29 -08:00
..
2025-12-29 23:52:38 -08:00
2025-12-29 14:54:37 -08:00
2025-12-29 23:45:35 -08:00
2025-12-29 15:29:16 -08:00
2025-12-29 22:01:59 -08:00
2025-12-27 16:48:26 -08:00
2025-12-28 16:40:39 -08:00
2025-12-30 10:29:53 -08:00
2025-12-30 10:29:53 -08:00
2025-12-28 16:36:38 -08:00
2025-12-29 18:05:50 -08:00
2025-12-28 02:40:00 -08:00
2025-12-30 10:45:31 -08:00
2025-12-30 00:59:29 -08:00
2025-12-30 10:43:34 -08:00
2025-12-30 10:54:29 -08:00
2025-12-30 09:58:14 -08:00
2025-12-30 01:55:09 -08:00
2025-12-29 23:37:50 -08:00
2025-12-29 23:37:50 -08:00
2025-12-29 18:02:49 -08:00
2025-12-29 23:52:38 -08:00
2025-12-30 10:54:29 -08:00
2025-12-28 16:36:38 -08:00
2025-12-28 16:38:04 -08:00
2025-12-30 00:19:12 -08:00
2025-12-29 22:02:45 -08:00
2025-12-29 22:02:45 -08:00
2025-12-28 16:38:04 -08:00
2025-12-29 16:11:13 -08:00
2025-12-28 16:38:04 -08:00
2025-12-30 00:19:12 -08:00
2025-12-29 23:58:06 -08:00
2025-12-30 00:59:29 -08:00
2025-12-30 10:43:34 -08:00
2025-12-30 00:52:02 -08:00
2025-12-30 00:52:02 -08:00
2025-12-30 10:43:34 -08:00
2025-12-29 14:54:37 -08:00
2025-12-30 09:58:14 -08:00
2025-12-30 02:05:54 -08:00
2025-12-28 16:38:04 -08:00
2025-12-28 21:45:39 -08:00
2025-12-30 10:54:29 -08:00
2025-12-29 22:13:24 -08:00
2025-12-30 10:53:40 -08:00
2025-12-28 17:18:03 -08:00
2025-12-30 01:56:18 -08:00
2025-12-29 14:54:37 -08:00
2025-12-29 14:54:37 -08:00
2025-12-30 10:43:34 -08:00
2025-12-30 00:35:21 -08:00
2025-12-29 14:54:37 -08:00
2025-12-28 16:00:41 -08:00
2025-12-30 10:43:34 -08:00
2025-12-30 10:43:34 -08:00
2025-12-29 18:02:49 -08:00
2025-12-30 02:05:54 -08:00