fix: resolve sf-logs-tail utils.sh dependency by reorganizing directory structure

- 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
This commit is contained in:
reynold
2025-08-28 22:57:07 +08:00
parent b99cdc1959
commit 4020d881f1
12 changed files with 4 additions and 4 deletions

17
utils/check-option-schemes.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/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