mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Move swipe screen logic into hooks/services and extract state-specific UI components to keep files small while preserving existing behavior. Reference: US-002
16 lines
353 B
Bash
Executable File
16 lines
353 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
ROOT_DIR="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
|
ACTIVITY_LOG="$ROOT_DIR/.ralph/activity.log"
|
|
|
|
if [ $# -lt 1 ]; then
|
|
echo "Usage: $0 \"message\""
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p "$(dirname "$ACTIVITY_LOG")"
|
|
TS=$(date '+%Y-%m-%d %H:%M:%S')
|
|
echo "[$TS] $*" >> "$ACTIVITY_LOG"
|