Skip to content

Commit

Permalink
fakedata: add page (#5675)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokosi authored Apr 10, 2021
1 parent 016f75e commit 6b14fd4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pages/common/fakedata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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`

0 comments on commit 6b14fd4

Please sign in to comment.