Refactor and externalize notifications
- Externalize notification functionality to make the script a lot simpler (and refactored a bunch).
- Improved argument handling
- Made the docs a bit more extensive
Breaking changes:
- Make sure you change the way you call
restic_wrapper
to make it compatible with the new way of passing arguments - The
MAILTO
configuration variable was moved to thesmtp.env
file and has been renamed (see example)