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:
17
utils/check-option-schemes.sh
Executable file
17
utils/check-option-schemes.sh
Executable 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
|
||||
Reference in New Issue
Block a user