Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.67 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.67 KB

Faker

This gem is a port of Ruby's Faker library that generates fake data.

NOTE

  • This is the master branch of Faker and may contain changes that are not yet released. Please refer the README of your version for the available methods. List of all versions is available here.

Installing

v install faker

Usage

import faker

//TODO

CLI

We currently work with two optional arguments in the CLI:

  • generator: we have different types of generators inside the /data, you should pass the generator that you're interested in using.
  • method: inside each generator, we can pick up a set of data generators. V will pick up randomly one item.
v run main.v --generator=address_us --method=state_abbr

If your locale doesn't already exist, create it in the data directory and you can then override or add elements to suit your needs.

Contributing

See CONTRIBUTING.md.

Contact

Comments and feedback are welcome. Send an email to Vitor Oliveira via the issues.

License

This code is free to use under the terms of the MIT license.