- Renamed misc/ directory to utils/ for better organization - Updated sf-logs-tail to source utils/utils.sh correctly - This fixes the 'No such file or directory' error when running sf-logs-tail - The utils directory contains cross-platform timeout functions needed for macOS compatibility
18 lines
619 B
Bash
Executable File
18 lines
619 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Checking which scripts use two-character vs single-character options:"
|
|
echo "=================================================================="
|
|
|
|
scripts=(sf-check sf-deploy sf-dry-run sf-web-open sf-org-create sf-org-info sf-retrieve sf-test-run sf-apex-run sf-data-export sf-data-import sf-logs-tail)
|
|
|
|
for script in "${scripts[@]}"; do
|
|
echo -n "$script: "
|
|
if ./$script -hp >/dev/null 2>&1; then
|
|
echo "✅ Uses -hp (two-character)"
|
|
elif ./$script -h >/dev/null 2>&1; then
|
|
echo "❌ Uses -h (single-character)"
|
|
else
|
|
echo "❓ No help option found"
|
|
fi
|
|
done
|