Files
Kadu 38ec0969e1 feat: Add --debug switch and minimize normal output
- Added --debug switch to CLI to show detailed diagnostic information
- In normal mode, --get-rate now outputs only the rate value without additional messages
- All diagnostic messages are now hidden in normal mode and shown only with --debug
- Updated all modules to support debug mode with debug_print() function
- Fixed rate calculation logic to properly handle weekends and holidays according to CNB rules
- For weekends/holidays, uses rate from last working day before them
- For regular days without rates, searches backwards for working day with rate
- Maintains backward compatibility with existing functionality
- Added comprehensive tests for rate calculation with weekends/holidays
- All modules now respect the debug mode setting
- Rate calculation correctly implements CNB rules for tax purposes
2025-08-19 23:59:27 +02:00
..
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00
2025-08-19 15:02:55 +02:00