feat: daily paper rss generator with dockerfile + entrypoint
This commit is contained in:
16
run.sh
Normal file
16
run.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/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" "$@"
|
||||
Reference in New Issue
Block a user