Quickly find required kotlin-faker functionality from your terminal
Zero-dependencies native images are available on releases page.
Download the image to a desired location and make it executable or use below script (Depends on jq)
cd ~
wget $(curl -s https://api.github.com/repos/serpro69/kotlin-faker/releases/latest | jq -r '.assets[].browser_download_url') -O faker-bot
chmod a+x ~/faker-botIf you prefer a .jar instead of a native image, these are also available for each release. Just download the jar and run it with java -jar:
java -jar ./faker-bot.jar --helpUsage details are also available with the --help option:
./faker-bot --help
./faker-bot list --help
./faker-bot lookup --help
./faker-bot list- list all providers and their functions./faker-bot list Address Name- list functions ofAddressandNameproviders (Case insensitive)
Since version 1.4.0 partial matching is also supported:
./faker-bot list addr- list functions ofAddressprovider
./faker-bot lookup name- lookup providers and functions by name (Case insensitive partial matching)
./faker-bot list --verbose - prints sample values for each function
./faker-bot lookup name --verbose - prints sample values for each function
./faker-bot list --java-syntax - prints list of all available providers and their functions using java syntax
./faker-bot list --verbose --locale de - combined with --verbose, all localized functions will be printed
using de locale.
./faker-bot list --list-locales - prints all available locales
./faker-bot list --list-fakers - prints all available faker implementations
Inspired by faker-ruby/faker-bot
