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

@@ -13,10 +13,10 @@ show_help() {
sf-check — verify Salesforce CLI environment and configuration
USAGE:
sf-check [-vb] [-hp]
sf-check [-ve] [-hp]
OPTIONS:
-vb Verbose output (show detailed information)
-ve Verbose output (show detailed information)
-hp Show this help
DESCRIPTION:
@@ -29,7 +29,7 @@ DESCRIPTION:
EXAMPLES:
sf-check # Basic environment check
sf-check -vb # Verbose output with detailed information
sf-check -ve # Verbose output with detailed information
EOF
}
@@ -210,7 +210,7 @@ VERBOSE=false
# Parse arguments manually for two-character options
while [[ $# -gt 0 ]]; do
case $1 in
-vb|--verbose)
-ve|--verbose)
VERBOSE=true
shift
;;
@@ -273,7 +273,7 @@ main() {
if [[ "$VERBOSE" != "true" ]]; then
echo ""
echo "Run 'sf-check -vb' for detailed system information."
echo "Run 'sf-check -ve' for detailed system information."
fi
fi
}