- 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.
- Fix sf-retrieve: Replace xargs with Bash parameter expansion for whitespace
trimming to avoid 'unterminated quote' errors when processing comma-separated
metadata types containing quotes or special characters
- Fix sf-apex-run: Replace invalid JavaScript-style ternary operator with proper
Bash conditional logic for code truncation display
All bash scripts now work correctly with real parameter combinations against
live Salesforce orgs. Testing performed against PWC-TEAM-DEV org confirmed
all functionality works as documented in README.md