This project is purely formative, It has been created in order to illustrate the examples of your respective blog article.
This cli use the Banc Ipsum API for generate random texts and print in the output.
To install the library, run
go get -u github.com/friendsofgo/bacon-ipsum/cmd/bacon-ipsum
$ bacon-ipsum --help
usage: bacon-ipsum [OPTIONS]
bacon-ipsum is a simple tool to generate random text based on a bacon ipsum API
-paras int
number of paragraphs (default 5)
-sentences int
number of sentences (this overrides paragraphs)
-type string
Type of the text to generate (Required) [Valid options: all-meat, meat-and-filler]
-withLorem
if it is true the first paragraph start with 'Bacon dolor sit amet'
Contributions are more than welcome, if you are interested please fork this repo and send your Pull Request.
MIT License, see LICENSE