Skip to content

v1.1 - --cli flag for manual runs

Choose a tag to compare

@dangul dangul released this 09 Oct 14:07
· 5 commits to main since this release

Changes in v1.1

New: --cli flag for manual runs

log_agent.py can now be run by hand with the new --cli flag:

sudo python3 log_agent.py --cli
  • No Pushover notification is sent. The alert ("Errors Found" or "All OK") is
    printed to the terminal instead of being pushed to Pushover.
  • Pushover credentials are not required in --cli mode — only AI_API_KEY
    must be set in log_agent.conf.
  • The AI analysis and the JSON report are still produced exactly as before.

Other

  • Added 2 unit tests for the new CLI-mode behaviour (test_log_agent.py,
    21 tests in total, all passing).
  • README: documented the new "Running manually" section and updated the feature
    list and test coverage.

Files changed

  • log_agent.py
  • test_log_agent.py
  • README.md