Create a command-line tool /app/backup.py that supports two subcommands: backup and restore .
Create a command-line tool /app/backup.py that supports two subcommands: backup and restore .: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). backup — Creates a compressed tar archive of a source directory, computes…
The task
**backup** — Creates a compressed tar archive of a source directory, computes a SHA256 checksum of the archive, and writes a manifest alongside it. Usage: `python /app/backup.py backup <source_dir> <output_archive> [--manifest <manifest_path>]` - `<source_dir>`: path to an existing directory (may be empty, may…