tldr/pages/common/fakedata.md

623 B

fakedata

Generate fake data using a large variety of generators. More information: https://github.com/lucapette/fakedata.

  • List all valid generators:

fakedata --generators

  • Generate data using one or more generators:

fakedata {{generator1}} {{generator2}}

  • Generate data with a specific output format:

fakedata --format {{csv|tab|sql}} {{generator}}

  • Generate a given number of data items (defaults to 10):

fakedata --limit {{n}} {{generator}}

  • Generate data using a custom output template (the first letter of generator names must be capitalized):

echo "{{\{\{Generator\}\}}}" | fakedata