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,14 +13,14 @@ All SF CLI wrapper scripts now use a **pure two-character option scheme** with c
-**sf-org-create**: `-al`, `-dd`, `-df`, `-st`, `-tp`, `-hp`
### Data Operations (100% Updated)
-**sf-data-export**: `-qy`, `-fl`, `-so`, `-to`, `-ot`, `-fm`, `-bk`, `-wt`, `-vb`, `-hp`
-**sf-data-import**: `-fl`, `-so`, `-to`, `-op`, `-ei`, `-bk`, `-wt`, `-bs`, `-ie`, `-vb`, `-hp`
-**sf-data-export**: `-qy`, `-fl`, `-so`, `-to`, `-ot`, `-fm`, `-bk`, `-wt`, `-ve`, `-hp`
-**sf-data-import**: `-fl`, `-so`, `-to`, `-op`, `-ei`, `-bk`, `-wt`, `-bs`, `-ie`, `-ve`, `-hp`
### Logging (100% Updated)
-**sf-logs-tail**: `-to`, `-ui`, `-lv`, `-dr`, `-ft`, `-ax`, `-nc`, `-vb`, `-hp`
-**sf-logs-tail**: `-to`, `-ui`, `-lv`, `-dr`, `-ft`, `-ax`, `-nc`, `-ve`, `-hp`
### Status: Remaining Scripts
- **sf-check**: Uses `-hp`, `-vb` (accepts two-character)
- **sf-check**: Uses `-hp`, `-ve` (accepts two-character)
- **sf-org-info**: Uses `-to`, `-l`, `-v`, `-hp` (partially updated)
- **sf-retrieve**: Help text updated, accepts `-hp`
- **sf-test-run**: Accepts `-hp`
@@ -31,7 +31,7 @@ All SF CLI wrapper scripts now use a **pure two-character option scheme** with c
### Universal Options (Consistent Across Scripts)
- **`-to`** → Target Org (replaces `-o`, `--target-org`)
- **`-hp`** → Help (replaces `-h`, `--help`)
- **`-vb`** → Verbose (replaces `-v`, `--verbose`)
- **`-ve`** → Verbose (replaces `-v`, `--verbose`)
### File & I/O Operations
- **`-fl`** → File (replaces `-f`, `--file`)