kimi
|
ababe3baca
|
refactor: break up cli.py::daily_run() (#1168)
Tests / lint (pull_request) Successful in 15s
Tests / test (pull_request) Failing after 7m56s
Extract 4 helper functions from the 105-line daily_run():
- _load_daily_run_config() - Load and validate config
- _display_schedules_table() - Display schedules table
- _display_triggers_table() - Display triggers table
- _execute_automation() - Execute single automation
- _execute_all_automations() - Execute all enabled automations
daily_run() is now 33 lines (was 105), serving as a clean orchestrator.
Fixes #1168
|
2026-03-23 17:48:59 -04:00 |
|