From f739fc28776eff0465c2f9577b0c2e1fa3d7dea2 Mon Sep 17 00:00:00 2001 From: historia Date: Mon, 17 Aug 2026 21:22:46 -0400 Subject: feat: lorem ipsum flag --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8feee2f..e34c09b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # epubgen -Python EPUB 3.3 generator for making test files. It will pull paragraphs from a text file randomly to generate the content of the book. It also has a torture mode which randomly adds unusual characters to try to break parsers. +Python EPUB 3.3 generator for making test files. It will pull paragraphs from a text file randomly to generate the content of the book. It also has a torture mode which randomly adds unusual characters to try to break parsers. If no text file is available, it falls back to generated lorem ipsum text. ## Usage @@ -17,7 +17,8 @@ python epubgen.py -m normal -c 10 -p 5 | `-t, --title` | `The Testing EPUB` | book title | | `-a, --author` | `Test Author` | book author | | `--seed N` | random | RNG seed for reproducibility | -| `--texts FILE` | `paragraphs.txt` | one paragraph per line | +| `--texts FILE` | `paragraphs.txt` | one paragraph per line | +| `--lorem` | off | generate lorem ipsum instead of reading a file | | `--no-ncx` | off | omit the EPUB 2 NCX fallback | | `-v, --version` | | print version | -- cgit v1.2.3