Crates.io | datagen-rs-cli |
lib.rs | datagen-rs-cli |
version | 0.1.0 |
source | src |
created_at | 2023-09-26 10:16:16.070144 |
updated_at | 2023-09-26 10:16:16.070144 |
description | The CLI for datagen-rs |
homepage | |
repository | https://github.com/MarkusJx/datagen |
max_upload_size | |
id | 983478 |
size | 36,402 |
The command line interface for the datagen-rs
crate.
cargo install datagen-rs-cli
Usage: datagen <COMMAND>
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
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.
datagen.exe write-json-schema <PATH>
This will write the JSON schema to the given path.