🔧 Improvements
CLI Enhancement - Archive Path Normalization
- Improved user experience: CLI now displays the correct final archive filename both before and after creation
- Path consistency: Archive paths shown in CLI output now match the actual files created, including proper extension handling
- Better clarity: Users see exactly what file will be created when archive extensions are automatically normalized
📝 Technical Details
- Added
_normalize_archive_path()
helper function in CLI module that mirrors the extension logic fromcore.py
- Ensures CLI output shows the correct
.tzst
or.zst
extensions even when users provide paths without proper extensions - Maintains consistency between what users see in the CLI and the actual files created on disk
🛠️ Changes
- Modified: cli.py - Enhanced archive creation output to show normalized paths
📦 What's Changed
This patch release focuses on improving the user experience when creating archives through the command-line interface. Previously, if a user specified an archive path without the proper extension, the CLI would show the original path in the output messages while actually creating a file with the normalized extension. Now the CLI consistently shows the final filename that will be created.
Full Changelog: v1.2.7...v1.2.8