- Removed long options from input parsing in all bash scripts
- Updated all help texts to show only two-character options
- Fixed error messages to reference short options only
- All scripts now reject long options like --help, --verbose, --target-org
- Maintained internal use of long sf CLI commands (e.g., --target-org passed to sf)
- Updated README.md documentation to reflect two-character scheme only
- Scripts affected: sf-retrieve, sf-test-run, sf-data-import, sf-data-export
- PowerShell scripts already used correct two-character parameter scheme
- All wrapper scripts now have consistent user interface
This ensures strict consistency in the two-character option scheme
while maintaining backward compatibility for the sf CLI commands themselves.
- 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
🐛 Fixed Critical Issue:
- Resolved 'unbound variable' error with cmd_args[@] in strict mode
- Used expansion for safe array handling
- Now works correctly with 'set -euo pipefail'
✅ Verified Working:
- sf-org-info -l: Lists all authenticated orgs
- sf-org-info -o ORG: Shows specific org information
- sf-org-info -o ORG -v: Shows detailed org limits and info
- Default org fallback when no org specified
The script now works reliably with proper error handling and strict bash mode.