Reorganize directory structure: move utility files to misc/ directory
- Move all non-wrapper files (testing scripts, documentation, utilities) to misc/ directory - Keep SF CLI wrapper scripts and README.md in root directory for better organization - Maintain clean root directory with only the actual wrapper scripts and main documentation - All wrapper scripts remain easily accessible and discoverable - Supporting files are organized in misc/ subdirectory
This commit is contained in:
17
misc/check-option-schemes.sh
Executable file
17
misc/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