Files
sf-cli-wrapper/sf-org-info
reynold e82de4ea12 Fix sf-org-info array handling for bash strict mode
🐛 Fixed Critical Issue:
  - Resolved 'unbound variable' error with cmd_args[@] in strict mode
  - Used  expansion for safe array handling
  - Now works correctly with 'set -euo pipefail'

 Verified Working:
  - sf-org-info -l: Lists all authenticated orgs
  - sf-org-info -o ORG: Shows specific org information
  - sf-org-info -o ORG -v: Shows detailed org limits and info
  - Default org fallback when no org specified

The script now works reliably with proper error handling and strict bash mode.
2025-08-28 18:59:00 +08:00

4.2 KiB
Executable File