v0.5.0
Refactor CLI main logic to remove repetition and improve testability
- ExitCodes
- Introduced function variables (dryRun, convertNginxLogs, etc.) to enable easier testing and mocking
- Added handleError helper to standardize error output and exit codes
- Result output logic into outputResults and outputRulesJSON
- Improved readability of main execution paths (runReplayMode, runCapture, runDryRun, runParseNginx)
- Isolated baseline loading into loadBaseline helper
- No functional changes; behavior and exit codes preserved