Repository navigation
v1.2.0 - Backup Submenu and Improvements
Release v1.2.0
This release adds an interactive backup submenu and fixes the Test Mode functionality.
New Features
- Backup Submenu: Added submenu for Backup Dev Environment with four modes:
- List-Only Mode (Preview): Preview all changes without modifying files
- Test Mode (Limited Preview): Preview limited operations with user-specified limit
- Count Mode (Quantify Source): Count all files and directories, then exit
- Full Backup: Create full backup with confirmation warning
- Interactive test mode now prompts for operation limit (default: 100)
- Improved user experience with safer preview options before destructive operations
Bug Fixes
- Fixed Test Mode argument parsing that prevented it from working
- Refactored
Invoke-BackupScriptto accept string array instead of string - Updated argument passing to use PowerShell splatting (
@Arguments) - Test mode now correctly passes
--test-modeand limit as separate arguments
Code Improvements
- Added
Get-BackupScriptPathhelper function for DRY principle - Added
Invoke-BackupScripthelper function to centralize backup execution logic - Created separate functions for each backup mode for better maintainability
- Improved error handling and user feedback
Changes Since v1.1.0
- #3: Add backup submenu with multiple modes and fix argument parsing
- #2: Major enhancement to backup-dev.ps1 with advanced features
Installation
This is a PowerShell script package - no binary installation required. Simply clone or download the repository.
🤖 Generated with Claude Code