Skip to content
forked from riesinger/golorem

CLI lorem ipsum generator written in Go

Notifications You must be signed in to change notification settings

jaybeckr/golorem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Lorem!

CLI lorem ipsum generator written in Go

Installing

go get -u github.com/riesinger/golorem is your friend! 😉

Usage

$ golorem --words 100
> 100 random (pseudo-)latin words

$ golorem -w 100
> -w is an alias for --words

$ golorem --paragraphs 10
> 10 paragraphs with 10 words each (separated with two newlines)

$ golorem -p 10
> -p is an alias for --paragraphs

$ golorem --paragraphs 10 --words 100
> 10 paragraphs with 100 words each

$ golorem -p 10 --paragraph-separator="<br>"
> 10 paragraphs separated with "<br>" (for HTML use)

Please note: Escape sequences do not work inside of --paragraph-separator, if you know how to make the pflags (or even flags) package parse those, tell me!

About

CLI lorem ipsum generator written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%