Replace fixed input/output paths in platz.cfg with --indir switch

Tischedatei, XMLdatei_Bestellung, AusgabeTischePersonen and
AusgabePersonTisch are no longer configured in platz.cfg. Instead,
platz.py now requires a --indir <dir> command-line switch pointing
at a directory that must contain tische.ini and bestellung.xml, and
into which TischePersonen.txt/PersonenTische.csv are written - e.g.
work/test1 or work/test2. This makes it trivial to run against
different guest lists without editing platz.cfg. platz.bat/platz.sh
forward extra arguments so --indir can be passed through.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Michael Stangl
2026-07-09 12:13:17 +02:00
parent e8911df7e9
commit 1e2eedc62b
7 changed files with 79 additions and 56 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ REM ================================================================
call "%~dp0setenv.bat"
python "%PLATZ_LIBS%\platz.py"
python "%PLATZ_LIBS%\platz.py" %*