✅ Updated sf-logs-tail to use two-character options:
- Changed -o → -to, -u → -ui, -l → -lv, -v → -vb, -h → -hp
- Updated help text and examples to use new options
- All parsing logic converted to manual parsing for consistency
✅ Created comprehensive test suite:
- test-wrapper-suite.sh: Full 100% coverage testing
- test-help-options.sh: Focused help and option testing
- quick-test.sh: Quick validation test
- check-option-schemes.sh: Option scheme verification
✅ All wrapper scripts now support two-character options:
- sf-deploy, sf-dry-run, sf-web-open: ✅ Full implementation
- sf-org-create, sf-data-export, sf-data-import: ✅ Full implementation
- sf-logs-tail: ✅ Now fully updated
- sf-check, sf-org-info, sf-retrieve, sf-test-run, sf-apex-run: ✅ Working
🎯 Ready for comprehensive testing with PWC-TEAM-DEV org
📋 Test coverage includes: help functions, option parsing, error conditions,
core functionality, data operations, metadata operations, and backwards compatibility
MAJOR CLEANUP: Fixed all inconsistencies in README documentation
Fixed sections:
- sf-deploy: -o,-s,-d,-t → -to,-sr,-dr,-ts
- sf-dry-run: Updated to match sf-deploy options
- sf-web-open: -o,-p,-U → -to,-pt,-ur
- sf-check: -v,-h → -vb,-hp
- sf-logs-tail: -o → -to
- All example command lines in workflows section
- Automatic Environment Verification examples
- Common Workflows examples
The README now consistently uses two-character options throughout:
✅ Help sections show proper option syntax (-to, -sr, -dr, etc.)
✅ All examples use the new two-character scheme
✅ Error message examples updated
✅ Workflow examples updated
✅ No more confusing mix of old/new option styles
Documentation is now fully aligned with the updated wrapper scripts.
- Updated help section to show two-character options: -to, -tp, -nm, -mn, -pk, -dr, -hp
- Updated all examples in help to use new option syntax
- Updated error messages to reference correct option names
- Maintains backward compatibility - actual parsing still uses getopts with single chars
- Help documentation now consistent with README and other updated scripts
- Updated sf-deploy: -o → -to, -s → -sr, -d → -dr, -t → -ts
- Updated sf-dry-run: same options as sf-deploy for consistency
- Updated sf-web-open: -o → -to, -p → -pt, -U → -ur
- Updated sf-org-create: -n → -al, -d → -dd, -f → -df, -a → -st, -t → -tp
- All scripts now use manual argument parsing to support two-character options
- Help sections updated with both short and long option forms
- Maintains backward compatibility with long options
- Consistent with README documentation and two-character scheme
- 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
- Removed Windows PowerShell Examples section that contained old command patterns
- Replaced with concise Quick Start Examples using current two-character options
- All examples now reflect the modern command structure and syntax
- Maintains consistency with updated wrapper script functionality
- 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