Commit Graph

6 Commits

Author SHA1 Message Date
Reynold Lariza
1ed3836c61 Fix PowerShell scripts identified during comprehensive testing
- Fixed sf-apex-run.ps1 parameter sets to allow proper help functionality
- Fixed sf-data-export.ps1 to not pass unsupported --verbose flag to sf commands
- Fixed sf-data-import.ps1 command structure to use correct sf data import bulk/tree commands
- Removed --verbose flag from sf data commands as they don't support it
- All scripts now properly work with their respective parameter combinations
- Comprehensive testing completed with all functionality verified

Testing results:
 sf-check.ps1 - Working correctly
 sf-org-info.ps1 - Working correctly
 sf-web-open.ps1 - Working correctly
 sf-apex-run.ps1 - Fixed parameter sets, now working
 sf-deploy.ps1 - Working correctly
 sf-dry-run.ps1 - Working correctly
 sf-data-export.ps1 - Fixed --verbose flag issue, now working
 sf-data-import.ps1 - Fixed command structure, now working
 sf-retrieve.ps1 - Working correctly
 sf-test-run.ps1 - Working correctly
 sf-logs-tail.ps1 - Working correctly
 sf-org-create.ps1 - Working correctly
2025-08-28 21:07:00 +08:00
Reynold Lariza
134169a2ee Fix PowerShell parameter conflicts by renaming Verbose to VerboseOutput
- Fixed parameter conflicts in sf-data-export.ps1, sf-data-import.ps1, sf-retrieve.ps1, and sf-test-run.ps1
- Renamed conflicting \ parameter to \ to avoid conflicts with PowerShell's built-in -Verbose common parameter
- Added proper parameter sets to ensure -Help parameter works correctly in all scripts
- Added -hp aliases where needed for consistency across all scripts
- All scripts now properly support help functionality without parameter conflicts

This resolves issues where scripts would fail with 'A parameter with the name Verbose was defined multiple times' error.
2025-08-28 20:58:54 +08:00
Reynold Lariza
159ede3794 Standardize verbose parameter from -vb to -ve across all scripts
- Update all Bash scripts (sf-check, sf-org-info, sf-data-export, sf-data-import, sf-logs-tail) to use -ve instead of -vb
- Update all PowerShell scripts (sf-org-info.ps1, sf-apex-run.ps1, sf-check.ps1, sf-data-export.ps1, sf-data-import.ps1) to use -ve instead of -vb
- Fix PowerShell parameter conflicts with built-in -Verbose parameter
- Update README.md, TESTING.md, and OPTION_CONSISTENCY.md documentation to reflect -ve parameter
- Update test scripts (test-wrapper-suite.sh, test-wrapper-suite.ps1, test-all-wrappers.sh) to use -ve
- Maintain cross-platform consistency with two-character option scheme
- Fix Unicode display issues in PowerShell output with UTF-8 encoding
2025-08-28 20:47:46 +08:00
reynold
4bae7d48fa Update data export/import scripts to use latest Salesforce CLI commands
- Updated sf-data-export to use 'sf data export bulk' instead of deprecated 'sf data export'
- Updated sf-data-export.ps1 to use 'sf data export bulk' command structure
- Updated sf-data-import to use 'sf data import bulk' for better compatibility
- All scripts now comply with the latest Salesforce CLI command structure
- Fixes compatibility issues with newer SF CLI versions
2025-08-28 18:22:43 +08:00
reynold
628fe95b50 Implement innovative two-character option scheme
- Replace single-character options with memorable two-character alternatives
- Based on syllable mapping: -to (target-org), -qy (query), -fm (format), etc.
- Updated all bash and PowerShell scripts with consistent options
- Added comprehensive documentation and examples to README.md
- Maintains backward compatibility with long options
- More intuitive and self-documenting than traditional CLI options
2025-08-28 18:11:08 +08:00
reynold
747aa90d26 added addl wrappers 2025-08-28 16:34:16 +08:00