aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-17 21:22:46 -0400
committerhistoria <historiavg@proton.me>2026-08-17 21:22:46 -0400
commitf739fc28776eff0465c2f9577b0c2e1fa3d7dea2 (patch)
tree544c5fcaaebdaa249dfef7e3670a29e88bdcd359 /README.md
parent1c8c7fcfe4b8df461763f82be6c3ed860b583d52 (diff)
downloadepub-generator-f739fc28776eff0465c2f9577b0c2e1fa3d7dea2.tar.gz
feat: lorem ipsum flag
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
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 |