Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepperkit/tabasco
Simple a placeholder text generator CLI tool
https://github.com/pepperkit/tabasco
generator lorem-ipsum-generator text text-generation
Last synced: 2 months ago
JSON representation
Simple a placeholder text generator CLI tool
- Host: GitHub
- URL: https://github.com/pepperkit/tabasco
- Owner: pepperkit
- License: mit
- Created: 2021-09-17T17:05:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T10:07:02.000Z (over 3 years ago)
- Last Synced: 2024-06-21T03:12:39.741Z (7 months ago)
- Topics: generator, lorem-ipsum-generator, text, text-generation
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# tabasco
Simple Text Generator uses https://fish-text.ru, https://baconipsum.com/ services.## Usage
```
Tabasco is a CLI tool to generate a placeholder text akka 'Lorem ipsum'.Usage:
tabasco [--arguments]The arguments are:
file a file name
docx a file output format DOCX (if not set default is TXT)
size an expected content size (in bytes by default)
kb flag set a size unit as KiB
mb flag set a size unit as MiB
lang choose a language, supported: ru, latin (default "ru")Use "tabasco --help" for more information
Tabasco uses https://fish-text.ru, https://baconipsum.com/ services to get a random text. It means the Internet connection is important.
MIT License
Copyright (c) 2021 PepperKit.
```## Example
### Generate **1MiB** size **text** file
```
tabasco --file lorem.txt --size 1 --mb
```### Generate **2KiB** size **text** file
```
tabasco --file lorem.txt --size 2 --kb
```### Generate **512** bytes size **text** file
```
tabasco --file lorem.txt --size 512
```### Generate **2KiB** content size **DOCX** file
```
tabasco --file document.docx --docx --size 2 --kb
```### Generate **4KiB** content size **text** file in **latin** language
```
tabasco --file plain-latin.txt --size 4 --kb --lang latin
```### Generate **8KiB** content size **text** file in **russian** language
```
tabasco --file plain-ru.txt --size 8 --kb --lang ru
```## License
The library is licensed under the terms of the MIT License.