17 lines
855 B
Bash
17 lines
855 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
# ─────────────────────────────────────────────
|
|
# HuggingFace Daily Paper RSS — Entrypoint Script
|
|
# ─────────────────────────────────────────────
|
|
# Convenience wrapper — delegates to run.py
|
|
#
|
|
# Usage:
|
|
# ./run.sh # output to ./feeds/
|
|
# ./run.sh --output-dir /data/feeds
|
|
# ./run.sh --date 2026-06-27 # simulate date
|
|
# ─────────────────────────────────────────────
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PYTHON=$(command -v python3 || command -v python)
|
|
exec "$PYTHON" "$SCRIPT_DIR/run.py" "$@"
|