Lorem Ipsum Generator now with command line support

I have added command line support to Lorem Ipsum Generator for Linux

CLI Mode

Generate Lorem Ipsum text directly from the command line:

# Basic usage with defaults (starts with "Lorem ipsum", 5 paragraphs, max 4 sentences, max 15 words)
loremgenerator -p=3

# Full customization
loremgenerator -s=1 -p=5 -m=4 -w=15

# Without "Lorem ipsum" prefix
loremgenerator -s=0 -p=2 -m=3 -w=10

# Show help
loremgenerator --help

# Show version
loremgenerator -v

CLI Options

  • -s, --start-with-lorem <0|1> – Start with ‘Lorem ipsum’ (1 for true, 0 for false) [default: 1]
  • -p, --paragraphs <NUMBER> – Number of paragraphs
  • -m, --ms <NUMBER> – Maximum sentences per paragraph
  • -w, --max-words <NUMBER> – Maximum words per sentence
  • -v, --version – Print version
  • -h, --help – Print help

Spread the love

Related Post