--|-------------|
| --paragraphs N | Number of paragraphs (default: 3) |
| --sentences N | Sentences per paragraph (default: 5) |
| --words N | Approximate total word count |
| --characters N | Exact character count (truncates to match) |
| --tokens N | Estimated LLM token count (~4 chars/token) |
| --continuous | Output without paragraph breaks |
| --headings N | Number of sections with headings |
| --bullets N | Bullet points per section |
| --numbered | Use numbered lists instead of bullets |
| --mixed N | Realistic document with N sections, varied content types |
| --output FILE | Write to file instead of stdout |
| --format FORMAT | Output format: text, markdown, html (default: markdown) |
Workflow
- Interpret the user's request for length and structure
- Run
scripts/generate.pywith appropriate options - If the user wants the output saved, use
--outputor redirect/pipe as needed - If the user wants it in clipboard, pipe to
pbcopy - Display the result or confirm the file was written
Examples
"Generate 3 paragraphs of lorem ipsum"
uv run scripts/generate.py --paragraphs 3
"Create lorem ipsum with 3 headings and 2 paragraphs under each"
uv run scripts/generate.py --headings 3 --paragraphs 6
"Give me a document with bullet points"
uv run scripts/generate.py --headings 3 --bullets 5
"500 words of continuous lorem ipsum saved to ~/Desktop/placeholder.txt"
uv run scripts/generate.py --words 500 --continuous --output ~/Desktop/placeholder.txt
"Lorem ipsum with numbered lists in HTML format"
uv run scripts/generate.py --headings 4 --bullets 5 --numbered --format html
"Exactly 500 characters of lorem ipsum"
uv run scripts/generate.py --characters 500
"About 100 tokens worth of lorem ipsum with headings"
uv run scripts/generate.py --tokens 100 --headings 2
"A realistic document with mixed content"
uv run scripts/generate.py --mixed 5