Entwicklung

Kommandozeile

Über main.py verfügbare Typer-Befehle.

Hilfe

.\.venv\Scripts\python.exe main.py --help
.\.venv\Scripts\python.exe main.py cli --help

Die Übersetzungsbefehle befinden sich in der Gruppe cli.

Übersetzen

.\.venv\Scripts\python.exe main.py cli translate `
  --input .\buch.epub `
  --model qwen3.5-9b `
  --concurrent 2 `
  --source en `
  --target fr

Wichtige Optionen:

  • --input, -i: EPUB, PDF, DOCX, MD oder TXT;
  • --model, -m;
  • --endpoint, -e;
  • --api-key;
  • --api-type;
  • --concurrent, -c, von 1 bis 32;
  • --source, -s und --target, -t;
  • --glossary, -g.

Zustand

.\.venv\Scripts\python.exe main.py cli status

Alte Befehle beachten

translate und status gehören zur Gruppe cli: Verwende main.py cli translate und main.py cli status.