Fix sf-org-info two-character options: standardize to -lm/-ls, update docs and tests

This commit is contained in:
reynold
2025-08-28 21:50:44 +08:00
parent 57eb6182c8
commit 7aa7a7a688
5 changed files with 61 additions and 21 deletions

View File

@@ -51,6 +51,8 @@ All scripts use an innovative **two-character option scheme** based on syllables
- `-op, --operation` - **Op**eration
- `-wt, --wait` - **W**ai**T**
- `-lv, --level` - **L**e**V**el
- `-lm` - **L**i**M**its (show org limits)
- `-ls` - **L**i**S**t (list orgs)
### Benefits
- **More Memorable**: `-to` for target-org is intuitive vs cryptic `-o`
@@ -156,10 +158,10 @@ Display org information, limits, and list authenticated orgs.
**Usage:**
```bash
sf-org-info -to ORG [--limits] [--list] [-ve]
sf-org-info -to ORG [-lm] [-ls] [-ve]
```
```powershell
sf-org-info.ps1 -to "myorg" -Limits -ve
sf-org-info.ps1 -to "myorg" -lm -ve
```
**Examples:**
@@ -168,7 +170,10 @@ sf-org-info.ps1 -to "myorg" -Limits -ve
sf-org-info -to MyOrg
# Show limits and verbose info
sf-org-info -to MyOrg --limits -ve
sf-org-info -to MyOrg -lm -ve
# List all authenticated orgs
sf-org-info -ls
```
### sf-retrieve / sf-retrieve.ps1