Wordgen
A simple tool to format random words from multiple sources.
Installation
Binary
Download a binary from the releases.
Go Install
▶ go install github.com/jamslinger/wordgen@latest
Usage
NAME:
Wordgen - A simple word generator that reads random words from input files and prints them as defined in the format.
USAGE:
Usage: wordgen [OPTIONS]...
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--files value, --in value Paths of input files.
--format value, -f value Format of resulting word, e.g. 'my-%s-%s-123'. Number of '%s' verbs must match the number of input files.
--count value, -c value Number of words to generate. Might be negative to generate an infinite number words. (default: 1)
--help, -h show help (default: false)
Example
Struggling to come up with a random email address?
▶ wordgen -in samples/adjectives -in samples/animals -f '%s.%s@example.com' -c 3
frantic.oyster@example.com
melancholy.chicken@example.com
clumsy.anaconda@example.com