Entwicklung
Kommandozeile
Über main.py verfügbare Typer-Befehle.
Hilfe
.\.venv\Scripts\python.exe main.py --help
.\.venv\Scripts\python.exe main.py cli --helpDie Ü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 frWichtige Optionen:
--input,-i: EPUB, PDF, DOCX, MD oder TXT;--model,-m;--endpoint,-e;--api-key;--api-type;--concurrent,-c, von 1 bis 32;--source,-sund--target,-t;--glossary,-g.
Zustand
.\.venv\Scripts\python.exe main.py cli statusAlte Befehle beachten
translate und status gehören zur Gruppe cli: Verwende main.py cli translate und main.py cli status.