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:
+1
-1
@@ -5,4 +5,4 @@
|
||||
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/setenv.sh"
|
||||
|
||||
python "$PLATZ_LIBS/platz.py"
|
||||
python "$PLATZ_LIBS/platz.py" "$@"
|
||||
|
||||
Reference in New Issue
Block a user