mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
- Move script to tools/scripts/content/ to match project structure - Add colored output with emoji indicators for better readability - Add -f/--file and -d/--directory options for flexible input - Add --clean flag to automatically remove unused footnote definitions - Add --dry-run to preview cleanup without making changes - Add --quiet mode for CI/CD pipelines - Add --strict mode to fail on any issues - Match style of other validation scripts in the project - Update pre-commit hook to use new location and options The script now provides clear visual feedback and can both validate and fix footnote issues automatically when needed.