feat(L05): add Git log diff and restore card

This commit is contained in:
user
2026-07-21 18:05:05 +02:00
commit 6103bb547d
38 changed files with 7133 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
root="${CARD_ROOT:-$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)}"; task="${1:?task required}"
case "$task" in task01_read_history|task02_compare_diffs|task03_restore_safely) ;; *) exit 2 ;; esac
exec env CARD_ROOT="$root" "$root/src/tasks/$task.sh"