https://github.com/friendsofgo/bacon-ipsum
A simple command line cli for generate random block texts using bacon ipsum api
https://github.com/friendsofgo/bacon-ipsum
Last synced: about 2 months ago
JSON representation
A simple command line cli for generate random block texts using bacon ipsum api
- Host: GitHub
- URL: https://github.com/friendsofgo/bacon-ipsum
- Owner: friendsofgo
- License: mit
- Created: 2019-01-20T08:41:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T21:49:32.000Z (about 7 years ago)
- Last Synced: 2025-08-13T19:15:59.322Z (7 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bacon Ipsum Cli
[](https://travis-ci.org/friendsofgo/bacon-ipsum)
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.
## Getting started
To install the library, run
```sh
go get -u github.com/friendsofgo/bacon-ipsum/cmd/bacon-ipsum
```
## Use the cli
```sh
$ 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'
```
## Contribute
[Contributions](https://github.com/friendsofgo/bacon-ipsum/issues?q=is%3Aissue+is%3Aopen) are more than welcome, if you are interested please fork this repo and send your Pull Request.
## License
MIT License, see [LICENSE](https://github.com/friendsofgo/bacon-ipsum/blob/master/LICENSE)