|
# Wrapper: aktiviert venv und führt journal_bot aus.
|
|
# Usage: run.ps1 [ingest|process|both]
|
|
param([string]$Cmd = "both")
|
|
$ErrorActionPreference = "Stop"
|
|
$root = Split-Path -Parent $PSScriptRoot
|
|
Set-Location $root
|
|
& "$root\.venv\Scripts\python.exe" -m journal_bot $Cmd
|