@datagen-rs/cli
The datagen-rs-cli
npm package provides a command line interface for generating data
using datagen
.
Installation
npm install -g datagen-rs-cli
Usage
datagen <schema> [output]
Positionals:
schema The schema file [string]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--output The output file [string]
The schema
argument must be a path to a valid schema file. The output
argument
can be set to a file to write to. If no output
is provided, the output will be
written to stdout
. Check the generators documentation (opens in a new tab)
or the examples (opens in a new tab) for more information
on how to write a schema file.