- Create scripts/common.sh with reusable log() function and color definitions - Refactor backup.sh to use common.sh for consistent logging - Add color support: ERROR (red), WARN (yellow), SUCCESS (green), INFO (normal) - Colors only appear in terminal, plain text in log files - Improve code organization and DRY principle - Fix shellcheck spacing warnings in backup.sh 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7.6 KiB
Executable File
7.6 KiB
Executable File