Command Modules
src/commands/pack.rs, src/commands/unpack.rs,
src/commands/list.rs — CLI command handlers.
Pack Command
|
The |
Real-time progress bar via |
When available space is insufficient, the per-chunk callback prompts the user to swap USB drives before continuing. |
Existing manifest detection: refuses to overwrite without
|
Unpack Command
|
Before extraction, the manifest is loaded and each chunk file is checked for existence — missing chunks are reported. |
Unpack resumes from the first incomplete chunk by skipping already- extracted content. |
After successful extraction, chunks are deleted by default.
|
Progress bar shows extraction progress per chunk and overall. |
List Command
|
Shows all chunk filenames, sizes, and statuses from the manifest. |
Each chunk shows its byte size and completion status (pending, completed, failed). |
Chunks not present on disk are flagged as missing in the output. |
Displays the total transfer size from the manifest header. |
|