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
This commit is contained in:
Reynold Lariza
2025-08-28 20:47:46 +08:00
parent 579264e3d1
commit 159ede3794
16 changed files with 116 additions and 112 deletions

View File

@@ -6,11 +6,11 @@ show_help() {
sf-org-info — wrapper for quick org information display
USAGE:
sf-org-info [-to <ORG_ALIAS>] [-vb] [-ls] [-hp]
sf-org-info [-to <ORG_ALIAS>] [-ve] [-ls] [-hp]
OPTIONS:
-to Target org alias or username (if not provided, uses default org)
-vb Verbose output (show detailed information)
-ve Verbose output (show detailed information)
-ls List all authenticated orgs
-hp Show this help
@@ -22,7 +22,7 @@ EXAMPLES:
sf-org-info -to DEMO-ORG
3) Show detailed org information:
sf-org-info -to DEMO-ORG -vb
sf-org-info -to DEMO-ORG -ve
4) List all authenticated orgs:
sf-org-info -ls
@@ -61,7 +61,7 @@ while [[ $# -gt 0 ]]; do
exit 1
fi
;;
-vb|--verbose)
-ve|--verbose)
VERBOSE=true
shift
;;
@@ -192,4 +192,4 @@ echo
echo "💡 Helpful commands:"
echo " - Open this org: sf org open${ORG:+ --target-org \"$ORG\"}"
echo " - List all orgs: sf-org-info -ls"
echo " - Detailed info: sf-org-info${ORG:+ -to \"$ORG\"} -vb"
echo " - Detailed info: sf-org-info${ORG:+ -to \"$ORG\"} -ve"