Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.