journal-bot/scripts/run.ps1

8 lines
269 B
PowerShell

# 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