-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add command line arguments to parallel decryptor example
Enhanced the parallel streaming decryptor example with proper CLI handling: - Added required command line arguments for: - Data map file path (-d, --data-map) - Chunks directory path (-c, --chunks-dir) - Output file path (-o, --output) - Added comprehensive path validation: - Checks data map file exists and is readable - Verifies chunks directory exists and is a directory - Validates output directory exists and is writable - Added clap dependency with derive features - Improved error messages and user feedback The example now provides a more robust CLI interface with proper validation before attempting decryption operations.
- Loading branch information
Showing
2 changed files
with
78 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters