v0.5.RC1
The main component was rewritten to make adding new generators/output formats easier.
zefaker now comes with the capability to:
- Export to CSV :
zefaker -f input.groovy -output data.csv -csv
- Export to JSON:
zefaker -f input.groovy -output data.json -json
- Export to SQL COPY (for Postgres):
zefaker -f input.groovy -output data.sql -table table_name -sql
(adduseSQLCOPY()
in input.groovy)
The archives contain a bin
directory with shell script for Linux and batch script for Windows for convenient use, but you can still call zefaker-all.jar (in the lib
folder) directly with java -jar