Files
conversation-history/load-context.sh
Garfield aba184492a Add helper scripts and templates
- load-context.sh: Quickly display latest context
- TEMPLATE.md: Standard format for new sessions
- Ready for future projects
2026-03-21 18:51:40 -04:00

16 lines
324 B
Bash
Executable File

#!/bin/bash
# Usage: ./load-context.sh [project-name]
# Loads the latest conversation context for a project
PROJECT=${1:-"mql-trading-bots"}
LATEST=$(ls -t 2*.md 2>/dev/null | head -1)
if [ -z "$LATEST" ]; then
echo "No context files found."
exit 1
fi
echo "=== LATEST CONTEXT: $LATEST ==="
echo ""
cat "$LATEST"