bacon-ipsum

module
Version: v0.0.0-...-e4d90e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2019 License: MIT

README

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL