Developers
Command-line interface
Typer commands available through main.py.
Help
.\.venv\Scripts\python.exe main.py --help
.\.venv\Scripts\python.exe main.py cli --helpTranslation commands live under the cli group.
Translate
.\.venv\Scripts\python.exe main.py cli translate `
--input .\book.epub `
--model qwen3.5-9b `
--concurrent 2 `
--source en `
--target frMain options:
--input,-i: EPUB, PDF, DOCX, MD or TXT;--model,-m;--endpoint,-e;--api-key;--api-type;--concurrent,-c, from 1 to 32;--source,-sand--target,-t;--glossary,-g.
Status
.\.venv\Scripts\python.exe main.py cli statusBeware of old commands
translate and status belong to the cli group: use main.py cli translate and main.py cli status.