Skip to content

A simple command line cli for generate random block texts using bacon ipsum api

License

Notifications You must be signed in to change notification settings

friendsofgo/bacon-ipsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bacon Ipsum Cli

Build Status

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

go get -u github.com/friendsofgo/bacon-ipsum/cmd/bacon-ipsum

Use the cli

$ 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 are more than welcome, if you are interested please fork this repo and send your Pull Request.

License

MIT License, see LICENSE

About

A simple command line cli for generate random block texts using bacon ipsum api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages