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:
@@ -4,7 +4,7 @@
|
||||
# Provides real-time debug log monitoring with filtering and formatting
|
||||
|
||||
# Source utilities for cross-platform compatibility
|
||||
source "$(dirname "$0")/utils.sh"
|
||||
source "$(dirname "$0")/utils/utils.sh"
|
||||
|
||||
# Color codes for output formatting
|
||||
readonly RED='\033[0;31m'
|
||||
@@ -35,9 +35,9 @@ show_usage() {
|
||||
echo " -hp Show this help message"
|
||||
echo ""
|
||||
echo "EXAMPLES:"
|
||||
echo " sf-logs-tail # Tail logs for default org"
|
||||
echo " sf-logs-tail -lv DEBUG -dr 60 # Debug level for 1 hour"
|
||||
echo " sf-logs-tail -ft \"MyClass\" -ax # Filter Apex logs for MyClass"
|
||||
echo " sf-logs-tail -to MYORG # Tail logs for specified org"
|
||||
echo " sf-logs-tail -to MYORG -lv DEBUG -dr 60 # Debug level for 1 hour"
|
||||
echo " sf-logs-tail -to MYORG -ft \"MyClass\" -ax # Filter Apex logs for MyClass"
|
||||
echo " sf-logs-tail -to sandbox -ui USER123 # Specific org and user"
|
||||
echo ""
|
||||
echo "KEYBOARD SHORTCUTS:"
|
||||
|
||||
Reference in New Issue
Block a user