The command line interface for the datagen-rs
crate.
bash
cargo install datagen-rs-cli
```text
Usage: datagen
Commands: write-json-schema Write the JSON schema to a file generate Generate random data from a schema help Print this message or the help of the given subcommand(s)
Options: -h, --help Print help -V, --version Print version ```
text
datagen generate <SCHEMA_FILE> [OUT_FILE]
This will generate data from the given schema file and write it to the given output file. If no output file is given, the data will be written to stdout.
text
datagen.exe write-json-schema <PATH>
This will write the JSON schema to the given path.