Commit Graph

5 Commits

Author SHA1 Message Date
reynold
ffc933604e fix: update sf-web-open help text to recommend target org usage
- Changed -to option description to '(recommended)' instead of just documenting it
- Replaced example that assumes default org with more practical example
- Maintains backwards compatibility while encouraging explicit org specification
- Aligns with environment where default org may not be configured
2025-08-28 23:11:35 +08:00
reynold
43fc686e26 Remove all long options (--) for complete consistency
 Major Consistency Update:
- Removed ALL long options (--target-org, --help, etc.) from scripts
- Now using ONLY two-character options (-to, -hp, etc.)
- Complete consistency across all wrapper scripts

Updated Scripts:
 sf-deploy: Removed --target-org, --sources, --directory, --tests, --help
 sf-dry-run: Removed all --long options, matching sf-deploy
 sf-web-open: Removed --target-org, --path, --url-only, --help
 sf-data-export: Removed all --long options throughout
 sf-logs-tail: Removed all --long options and updated help text

Updated Test Scripts:
 test-wrapper-suite.sh: Removed --help tests and --long option tests
 quick-test.sh: Updated to use -ls instead of --list
 All tests now use only two-character options

🎯 Result: Pure two-character option interface
- Clean, consistent UX: -to, -sr, -dr, -ts, -hp, -qy, -fl, etc.
- No mixing of single-char, two-char, and long options
- Memorable, self-documenting option names throughout
2025-08-28 18:51:13 +08:00
reynold
39b7f11646 Update core wrapper scripts to use two-character option scheme
- 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
2025-08-28 18:28:23 +08:00
reynold
a385484a69 updated scripts 2025-08-28 15:51:17 +08:00
reynold
b09cbed174 added sf cli wrappers 2025-08-28 15:27:24 +08:00